Fixed damage for seeds.
This commit is contained in:
parent
ce9d84fc18
commit
82b9e2c71f
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue