mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +00:00
Ton of null fixes
This commit is contained in:
132 files changed
+403
-325
No files matched your search
@@ -418,9 +418,9 @@ public class EntityManaBurst extends EntityThrowable implements IManaBurst {
|
||||
|
||||
NBTTagCompound lensCmp = par1nbtTagCompound.getCompoundTag(TAG_LENS_STACK);
|
||||
ItemStack stack = new ItemStack(lensCmp);
|
||||
if(stack != null)
|
||||
if(!stack.isEmpty())
|
||||
setSourceLens(stack);
|
||||
else setSourceLens(new ItemStack(Blocks.STONE, 0, 0));
|
||||
else setSourceLens(ItemStack.EMPTY);
|
||||
|
||||
int x = par1nbtTagCompound.getInteger(TAG_SPREADER_X);
|
||||
int y = par1nbtTagCompound.getInteger(TAG_SPREADER_Y);
|
||||
|
||||
Reference in new issue
Block a user