mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-23 21:51:31 +01:00
Update for Minecraft 1.18.2
This commit is contained in:
parent
53e99e1aef
commit
a165ca9531
@ -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>
|
||||||
|
@ -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;
|
||||||
}
|
}
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user