use of com.almuradev.almura.feature.menu.ingame.FeatureScreen in project Almura by AlmuraDev.
the class ClientboundFeaturesOpenResponsePacketHandler method handleMessage.
@Override
public void handleMessage(ClientboundFeaturesOpenResponsePacket message, RemoteConnection connection, Platform.Type side) {
if (side.isClient()) {
final Minecraft client = Minecraft.getMinecraft();
if (PacketUtil.checkThreadAndEnqueue(client, message, this, connection, side)) {
final EntityPlayerSP player = client.player;
final WorldClient world = client.world;
final boolean isAdmin = message.admin;
new FeatureScreen(player, world, isAdmin).display();
}
}
}
Aggregations