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