Skip to content

Commit

Permalink
Preview for Minecraft 1.20 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ste3et committed Jun 9, 2023
1 parent 1bd2d21 commit d338858
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 3 deletions.
Binary file modified .gradle/7.2/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/checksums/sha1-checksums.bin
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ public void onEnable() {

this.furnitureConfig = new FurnitureConfig(instance);
this.furnitureConfig.initLanguage();
if (getVersionInt() < 12 || getVersionInt() > 19) {
this.disableFurnitureLib(Arrays.asList("<red>FurnitureLib only works on Spigot 1.12 - 1.19"));
if (getVersionInt() < 12 || getVersionInt() > 20) {
this.disableFurnitureLib(Arrays.asList("<red>FurnitureLib only works on Spigot 1.12 - 1.20"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ public static ProtocolFields getField(String s) {
if (s.startsWith("1.15") || s.startsWith("1.16")) {
return Spigot115;
}
if (s.startsWith("1.17") || s.startsWith("1.18") || s.startsWith("1.19")) {

if (s.startsWith("1.17") || s.startsWith("1.18") || s.startsWith("1.19") || s.startsWith("1.20")) {
return Spigot117;
}

Expand Down
Binary file modified buildSrc/.gradle/7.2/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.

0 comments on commit d338858

Please sign in to comment.