mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-07 19:28:11 +01:00
Update for Minecraft 1.18.2
This commit is contained in:
parent
53e99e1aef
commit
a165ca9531
@ -46,7 +46,7 @@
|
||||
<dependency>
|
||||
<groupId>at.pcgamingfreaks</groupId>
|
||||
<artifactId>PluginLib</artifactId>
|
||||
<version>1.0.35-SNAPSHOT</version>
|
||||
<version>1.0.36-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!-- BadRabbit -->
|
||||
<dependency>
|
||||
|
@ -21,6 +21,6 @@
|
||||
|
||||
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;
|
||||
}
|
@ -117,7 +117,7 @@ public void onEnable()
|
||||
|
||||
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.setEnabled(false);
|
||||
@ -407,4 +407,4 @@ public boolean isBackpackItem(final @Nullable ItemStack itemStack)
|
||||
{
|
||||
return new Version(getDescription().getVersion());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user