Update actions
This commit is contained in:
parent
d32c1ae224
commit
7f92021736
8
.github/workflows/maven.yml
vendored
8
.github/workflows/maven.yml
vendored
@ -10,10 +10,10 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up JDK 16
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2.3.1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 16
|
java-version: 17
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
command: mvn -B package --file pom.xml
|
command: mvn -B package --file pom.xml
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2.2.4
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: AuthmeVelocity
|
name: AuthmeVelocity
|
||||||
path: |
|
path: |
|
||||||
|
@ -7,6 +7,9 @@ import com.velocitypowered.api.proxy.Player;
|
|||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* APi provided to interact with logged players
|
||||||
|
*/
|
||||||
public class AuthmeVelocityAPI {
|
public class AuthmeVelocityAPI {
|
||||||
/**
|
/**
|
||||||
* Check if the player is logged in or not
|
* Check if the player is logged in or not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user