mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Fix some issues with java 9 / reflection
This commit is contained in:
@ -13,7 +13,7 @@ public class SolidBlockMask extends BlockTypeMask {
|
||||
public static boolean[] getTypes() {
|
||||
boolean[] types = new boolean[BlockTypes.size()];
|
||||
for (BlockTypes type : BlockTypes.values) {
|
||||
types[type.ordinal()] = type.getMaterial().isSolid();
|
||||
types[type.getInternalId()] = type.getMaterial().isSolid();
|
||||
}
|
||||
return types;
|
||||
}
|
||||
|
Reference in New Issue
Block a user