Fixed damage for seeds.
This commit is contained in:
@@ -61,7 +61,7 @@ public class ItemCrystalSeed extends AEBaseItem implements IGrowableCrystal
|
|||||||
{
|
{
|
||||||
NBTTagCompound comp = Platform.openNbtData( is );
|
NBTTagCompound comp = Platform.openNbtData( is );
|
||||||
comp.setInteger( "progress", newDamage );
|
comp.setInteger( "progress", newDamage );
|
||||||
is.setItemDamage( (is.getItemDamage() / SINGLE_OFFSET) * SINGLE_OFFSET );
|
is.setItemDamage( (int) (is.getItemDamage() / LEVEL_OFFSET) * LEVEL_OFFSET );
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemCrystalSeed() {
|
public ItemCrystalSeed() {
|
||||||
|
|||||||
Reference in New Issue
Block a user