use of com.almuradev.almura.feature.death.client.gui.PlayerDiedGUI in project Almura by AlmuraDev.
the class ClientboundPlayerDiedPacketHandler method handleMessage.
@Override
public void handleMessage(ClientboundPlayerDiedPacket 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;
new PlayerDiedGUI(player, message.droppedAmount, message.deathTaxAmount, message.dropCoins, message.canRevive).display();
}
}
}
Aggregations