ProtocolLib 4.3.0 for Minecraft 1.12. Build against API 4.3.0-SNAPSHOT.

This commit is contained in:
asofold 2017-05-14 20:15:33 +02:00
parent 6e4a1c08da
commit b3edd089a6
2 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.9.4-R0.1-SNAPSHOT</version>
<version>1.12-pre2-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
@ -36,7 +36,7 @@
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib-API</artifactId>
<version>4.2.1</version>
<version>4.3.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@ -47,12 +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.3.0 or later for Minecraft 1.12.x")
.pluginVersionGT("ProtocolLib", "4.3.0", 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)