mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 23:13:21 +00:00
Fixed NPE
This commit is contained in:
1 parent
1fbb9b33b4
commit
c579165d81
1 file changed
+1
-1
@@ -163,7 +163,7 @@ public class Util {
|
||||
}
|
||||
|
||||
public static void dropItems(World world, ItemStack stack, int x, int y, int z, boolean doRandomSpread) {
|
||||
if(stack.stackSize <= 0) {
|
||||
if(stack == null || stack.stackSize <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user