Allow ProtocolLib 4.2.2 and later on MC 1.12.x.

(ProtocolLib b357 crashes the client on localhost though.)
This commit is contained in:
asofold 2017-05-14 12:41:43 +02:00
parent 89ae23997d
commit 5cccd4c190

View File

@ -47,6 +47,12 @@ public class DefaultComponentFactory {
public DefaultComponentFactory() {
for (Activation condition : Arrays.asList(
new Activation()
.neutralDescription("ProtocolLib 4.2.2 or later for Minecraft 1.12.x")
.pluginVersionGT("ProtocolLib", "4.2.2", true)
.minecraftVersionBetween("1.12", true, "1.13", false)
.advertise(true)
,
new Activation()
.neutralDescription("ProtocolLib 4.2.0 or later for Minecraft 1.11.x")
.pluginVersionGT("ProtocolLib", "4.2.0", true)