mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-03 19:00:30 +02:00
[Bleeding] Allow ProtocolLib 4.0.0 on MC [1.9, 1.10). See notes.
Issues on quick testing: * End portal seems bugged, resulting in desync, entering in creative mode. Switching to survival via console allows end portal travel after kick+relog. Can't tell if this is a 1.9 bug or due to building NCP vs. an older version of ProtocolLib.
This commit is contained in:
parent
0b6f5b456e
commit
db1d15d93a
|
@ -87,7 +87,7 @@ public class DefaultComponentFactory {
|
|||
boolean vP3_7_0 = GenericVersion.isVersionBetween(pV, "3.7", true, "3.7.0", true);
|
||||
boolean vP4_0_0 = GenericVersion.compareVersions("4.0.0", pV) <= 0; // 4.0.0 or later until next MC version is out.
|
||||
if (
|
||||
ServerVersion.compareMinecraftVersion("1.9") == 0 && vP4_0_0
|
||||
ServerVersion.isMinecraftVersionBetween("1.9", true, "1.10", false) && vP4_0_0
|
||||
|| ServerVersion.isMinecraftVersionBetween("1.9", true, "1.10", false) && vP3_7_0
|
||||
|| ServerVersion.isMinecraftVersionBetween("1.8", true, "1.9", false) && (vP3_6_4 || vP3_6_5)
|
||||
|| ServerVersion.isMinecraftVersionBetween("1.8", true, "1.9", false) && vP3_6_6
|
||||
|
|
Loading…
Reference in New Issue
Block a user