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

View File

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