mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 00:37:57 +00:00
Fixed a spark crash when trying to remove an augment. Closes #601
This commit is contained in:
1 parent
acc7237cfd
commit
4ea7fc4b54
1 file changed
+1
-1
@@ -264,7 +264,7 @@ public class EntitySpark extends Entity implements ISparkEntity {
|
||||
entityDropItem(new ItemStack(ModItems.sparkUpgrade, 1, upgrade - 1), 0F);
|
||||
setUpgrade(0);
|
||||
|
||||
dataWatcher.updateObject(29, "");
|
||||
setTransferDataContainer(new ItemStack(Blocks.stone, 0, 0));
|
||||
removeTransferants = 2;
|
||||
} else setDead();
|
||||
if(player.worldObj.isRemote)
|
||||
|
||||
Reference in new issue
Block a user