From 62ea433a0ff2f4a255faab1a86f722185684fb03 Mon Sep 17 00:00:00 2001 From: asofold Date: Thu, 3 Mar 2016 22:43:38 +0100 Subject: [PATCH] Confine the accepted Minecraft version for ProtocolLib 3.7 more. https://github.com/NoCheatPlus/NoCheatPlus/commit/9be2cd24007d0397cbabc14c4f6659ded0b9469b#diff-2f1ecdb100c80df342f0249f8ebacbb1R83 --- .../neatmonster/nocheatplus/compat/DefaultComponentFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/compat/DefaultComponentFactory.java b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/compat/DefaultComponentFactory.java index 63c50b95..62bc811a 100644 --- a/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/compat/DefaultComponentFactory.java +++ b/NCPPlugin/src/main/java/fr/neatmonster/nocheatplus/compat/DefaultComponentFactory.java @@ -80,7 +80,7 @@ public class DefaultComponentFactory { boolean vP2 = GenericVersion.compareVersions("3.6.5", pV) == 0; boolean vP3 = GenericVersion.compareVersions("3.7", pV) == 0; if ( - ServerVersion.isMinecraftVersionBetween("1.9", true, "2.0", false) + ServerVersion.isMinecraftVersionBetween("1.9", true, "1.10", false) && vP3 || ServerVersion.isMinecraftVersionBetween("1.8", true, "1.9", false) &&