@EventHandler(priority = EventPriority.NORMAL)
 public void onPlayerDropItem(PlayerDropItemEvent event) {
   if (TotalFreedomMod.autoEntityWipe) {
     if (event.getPlayer().getWorld().getEntities().size() > 750) {
       event.setCancelled(true);
     } else {
       event.getItemDrop().remove();
     }
   }
 }
 @EventHandler(priority = EventPriority.NORMAL)
 public void onPlayerDropItem(PlayerDropItemEvent event) {
   if (TFM_ConfigEntry.AUTO_ENTITY_WIPE.getBoolean()) {
     if (event.getPlayer().getWorld().getEntities().size() > 750) {
       event.setCancelled(true);
     } else {
       event.getItemDrop().remove();
     }
   }
 }