Update actions

This commit is contained in:
4drian3d 2021-11-14 21:22:10 -05:00
parent d32c1ae224
commit 7f92021736
2 changed files with 7 additions and 4 deletions

View File

@ -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: |

View File

@ -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