mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-27 23:33:11 +00:00
fixed laser, drops
This commit is contained in:
1 parent
d51d4aa2c4
commit
04b332bd07
12 files changed
+23
-62
No files matched your search
@@ -13,10 +13,8 @@ public class PacketEMTKeys implements IMessage, IMessageHandler<PacketEMTKeys, I
|
||||
@Override
|
||||
public IMessage onMessage(PacketEMTKeys message, MessageContext ctx) {
|
||||
if(ctx.getServerHandler().playerEntity.inventory.armorInventory[2] != null && ctx.getServerHandler().playerEntity.inventory.armorInventory[2].getItem() == ItemRegistry.quantumArmor){
|
||||
System.out.println("Odel.");
|
||||
ctx.getServerHandler().playerEntity.inventory.armorInventory[2].stackTagCompound.setBoolean("unequip", true);
|
||||
}
|
||||
System.out.println("Prinyal.");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user