MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / denull

Method denull

src/main/java/gregapi/util/ST.java:1243–1243  ·  view source on GitHub ↗
(Entity  aPlayer)

Source from the content-addressed store, hash-verified

1241 }
1242
1243 public static void denull(Entity aPlayer) {if (aPlayer instanceof EntityPlayer) denull(((EntityPlayer)aPlayer).inventory);}
1244 public static void denull(IInventory aInv) {
1245 if (aInv != null) for (int i = 0, j = aInv.getSizeInventory(); i < j; i++) {
1246 ItemStack tStack = aInv.getStackInSlot(i);

Callers 3

onArrowLooseEventMethod · 0.95

Calls 4

getSizeInventoryMethod · 0.65
getStackInSlotMethod · 0.65
getItemMethod · 0.65

Tested by

no test coverage detected