Lotsa cleanup

This commit is contained in:
Vasco Lavos committed 2015-12-05 21:10:07 +00:00
1 parent 4610f1e617
commit c904244bcc
102 files changed
+1282 -1351

No files matched your search

@@ -283,14 +283,14 @@ public class EntitySpark extends Entity implements ISparkEntity {
return doPhantomInk(stack);
}
public boolean doPhantomInk(ItemStack stack) {
if(stack.getItem() == ModItems.phantomInk && !worldObj.isRemote) {
int invis = dataWatcher.getWatchableObjectInt(INVISIBILITY_DATA_WATCHER_KEY);
dataWatcher.updateObject(INVISIBILITY_DATA_WATCHER_KEY, ~invis & 1);
return true;
}
return false;
}