mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Floaters all rendering properly statically
This commit is contained in:
1 parent
eadfa10e82
commit
bb886f49e4
136 files changed
+1051
-23
No files matched your search
@@ -252,6 +252,7 @@ public class TileEntityGeneratingFlower extends TileEntitySpecialFlower {
|
||||
|
||||
@Override
|
||||
public void readFromPacketNBT(CompoundNBT cmp) {
|
||||
super.readFromPacketNBT(cmp);
|
||||
mana = cmp.getInt(TAG_MANA);
|
||||
passiveDecayTicks = cmp.getInt(TAG_PASSIVE_DECAY_TICKS);
|
||||
|
||||
@@ -264,6 +265,7 @@ public class TileEntityGeneratingFlower extends TileEntitySpecialFlower {
|
||||
|
||||
@Override
|
||||
public void writeToPacketNBT(CompoundNBT cmp) {
|
||||
super.writeToPacketNBT(cmp);
|
||||
cmp.putInt(TAG_MANA, mana);
|
||||
cmp.putInt(TAG_TICKS_EXISTED, ticksExisted);
|
||||
cmp.putInt(TAG_PASSIVE_DECAY_TICKS, passiveDecayTicks);
|
||||
|
||||
Reference in new issue
Block a user