diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 79574f6..18c82c7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -8,9 +8,9 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Build with Maven run: mvn -B package --file pom.xml \ No newline at end of file diff --git a/pom.xml b/pom.xml index 21dbb8d..f46e183 100644 --- a/pom.xml +++ b/pom.xml @@ -48,8 +48,8 @@ dev.morphia.morphia - core - 1.6.0 + morphia-core + 2.0.2 compile @@ -73,8 +73,8 @@ maven-compiler-plugin 3.8.1 - 1.8 - 1.8 + 11 + 11 diff --git a/src/main/java/me/totalfreedom/plex/player/PlexPlayer.java b/src/main/java/me/totalfreedom/plex/player/PlexPlayer.java index 13c2c0d..cae059e 100644 --- a/src/main/java/me/totalfreedom/plex/player/PlexPlayer.java +++ b/src/main/java/me/totalfreedom/plex/player/PlexPlayer.java @@ -14,7 +14,7 @@ import me.totalfreedom.plex.rank.enums.Rank; @Getter @Setter -@Entity(value = "players", noClassnameStored = true) +@Entity(value = "players", useDiscriminator = false) public class PlexPlayer { @Setter(AccessLevel.NONE)