File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
modules/API/src/main/java/com/comphenix/protocol Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ public class ProtocolLibrary {
39
39
/**
40
40
* The maximum version ProtocolLib has been tested with.
41
41
*/
42
- public static final String MAXIMUM_MINECRAFT_VERSION = "1.12.2 " ;
42
+ public static final String MAXIMUM_MINECRAFT_VERSION = "1.13.1 " ;
43
43
44
44
/**
45
- * The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.12.2 ) was released.
45
+ * The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.13.1 ) was released.
46
46
*/
47
- public static final String MINECRAFT_LAST_RELEASE_DATE = "2017-09-18 " ;
47
+ public static final String MINECRAFT_LAST_RELEASE_DATE = "2018-08-22 " ;
48
48
49
49
/**
50
50
* Plugins that are currently incompatible with ProtocolLib.
Original file line number Diff line number Diff line change 33
33
import javax .crypto .SecretKey ;
34
34
35
35
import com .comphenix .protocol .utility .MinecraftReflection ;
36
+ import com .comphenix .protocol .utility .MinecraftVersion ;
36
37
import com .google .common .collect .ImmutableSet ;
37
38
import com .google .common .collect .Sets ;
38
39
import com .google .common .primitives .Primitives ;
@@ -62,8 +63,12 @@ public class ImmutableDetector implements Cloner {
62
63
add (() -> MinecraftReflection .getMinecraftClass ("SoundEffect" ));
63
64
add (MinecraftReflection ::getBlockClass );
64
65
add (MinecraftReflection ::getItemClass );
65
- add (MinecraftReflection ::getFluidTypeClass );
66
- add (MinecraftReflection ::getParticleTypeClass );
66
+
67
+ if (MinecraftVersion .atOrAbove (MinecraftVersion .AQUATIC_UPDATE )) {
68
+ add (() -> MinecraftReflection .getMinecraftClass ("Particle" ));
69
+ add (MinecraftReflection ::getFluidTypeClass );
70
+ add (MinecraftReflection ::getParticleTypeClass );
71
+ }
67
72
}
68
73
69
74
private static void add (Supplier <Class <?>> getClass ) {
You can’t perform that action at this time.
0 commit comments