More changes

This commit is contained in:
WayofTime 2014-02-19 17:03:56 -05:00
parent 9aaa65feb4
commit d5ba110323
56 changed files with 1250 additions and 618 deletions

View file

@ -382,6 +382,11 @@ public class EnergyItems extends Item implements IBindable
world.setItemData(ownerName, data);
}
if(data.currentEssence>=maximum)
{
return;
}
data.currentEssence = Math.min(maximum, data.currentEssence + amount);
data.markDirty();
}