if (item != null)
event.getDrops().add(InventoryHelper.getEntityItem(living, item));
}
}
}
<BUG>@SubscribeEvent
public void onPlayerDrops(PlayerDropsEvent event) {</BUG>
EntityPlayer player = event.getEntityPlayer();
if (Alway.isServer() && !player.worldObj.getGameRules().getBoolean("keepInventory")) {
IInventory inventory = player.getCapability(AlchemyCapabilityLoader.bauble, null);

if (item != null)
event.getDrops().add(InventoryHelper.getEntityItem(living, item));
}
}
}
@SubscribeEvent
public void onPlayer_Clone(PlayerEvent.Clone event) {
event.getOriginal().getCapability(AlchemyCapabilityLoader.bauble, null).copy(event.getEntityPlayer());
}
@SubscribeEvent
public void onPlayerDrops(PlayerDropsEvent event) {
EntityPlayer player = event.getEntityPlayer();
if (Alway.isServer() && !player.worldObj.getGameRules().getBoolean("keepInventory")) {
IInventory inventory = player.getCapability(AlchemyCapabilityLoader.bauble, null);
