mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-12 13:53:54 +00:00
bleh
This commit is contained in:
@ -221,12 +221,12 @@ public class EventBlocker extends FreedomService
|
||||
{
|
||||
BlockStateMeta blockStateMeta = (BlockStateMeta)item.getItemMeta();
|
||||
ShulkerBox shulkerBox = (ShulkerBox)blockStateMeta.getBlockState();
|
||||
for(ItemStack item : shulkerBox.getInventory().getContents)
|
||||
for (ItemStack itemStack : shulkerBox.getInventory().getContents())
|
||||
{
|
||||
if(item != null)
|
||||
if (itemStack != null)
|
||||
{
|
||||
event.setCancelled(true);
|
||||
break;
|
||||
event.setCancelled(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user