Remove unused field indicating availability of client classes.

This commit is contained in:
Sebastian Hartte
2020-09-19 18:19:50 +02:00
parent 876bb52087
commit cacd824db3
-9
View File
@@ -126,8 +126,6 @@ public class Platform {
public static final int DEF_OFFSET = 16;
private static final boolean CLIENT_INSTALL = FMLEnvironment.dist.isClient();
/*
* random source, use it for item drop locations...
*/
@@ -223,13 +221,6 @@ public class Platform {
return Thread.currentThread().getThreadGroup() != SidedThreadGroups.SERVER;
}
/*
* returns true if client classes are available.
*/
public static boolean isClientInstall() {
return CLIENT_INSTALL;
}
public static boolean hasPermissions(final DimensionalCoord dc, final PlayerEntity player) {
if (!dc.isInWorld(player.world)) {
return false;