Update for Minecraft 1.18.2

This commit is contained in:
GeorgH93 2022-03-04 13:34:53 +01:00
parent 53e99e1aef
commit a165ca9531
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
4 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@
<dependency> <dependency>
<groupId>at.pcgamingfreaks</groupId> <groupId>at.pcgamingfreaks</groupId>
<artifactId>PluginLib</artifactId> <artifactId>PluginLib</artifactId>
<version>1.0.35-SNAPSHOT</version> <version>1.0.36-SNAPSHOT</version>
</dependency> </dependency>
<!-- BadRabbit --> <!-- BadRabbit -->
<dependency> <dependency>

View File

@ -21,6 +21,6 @@
public class MagicValues public class MagicValues
{ {
public static final String MIN_PCGF_PLUGIN_LIB_VERSION = "1.0.35-SNAPSHOT"; public static final String MIN_PCGF_PLUGIN_LIB_VERSION = "1.0.36-SNAPSHOT";
public static final MCVersion MIN_MC_VERSION_FOR_UPDATES = MCVersion.MC_1_8; public static final MCVersion MIN_MC_VERSION_FOR_UPDATES = MCVersion.MC_1_8;
} }

View File

@ -117,7 +117,7 @@ public void onEnable()
private boolean checkMcVersion() private boolean checkMcVersion()
{ {
if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_18_R1)) if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_18_R2))
{ {
this.warnOnVersionIncompatibility(); this.warnOnVersionIncompatibility();
this.setEnabled(false); this.setEnabled(false);
@ -407,4 +407,4 @@ public boolean isBackpackItem(final @Nullable ItemStack itemStack)
{ {
return new Version(getDescription().getVersion()); return new Version(getDescription().getVersion());
} }
} }

View File

@ -7,7 +7,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<properties> <properties>
<revision>2.4.4-SNAPSHOT</revision> <revision>2.4.5</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>