mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 19:29:17 +00:00
Fix #326 decorative leaves should not pollinate
This commit is contained in:
1 parent
e528609212
commit
267905ef3f
1 file changed
+2
-2
@@ -96,7 +96,7 @@ public class TileLeaves extends TileTreeContainer implements IPollinatable, IFru
|
||||
maturationTime = nbttagcompound.getInteger("CATMAT");
|
||||
caterpillar = (IButterfly)AlleleManager.alleleRegistry.getSpeciesRoot("rootButterflies").getMember(nbttagcompound.getCompoundTag("CATER"));
|
||||
}
|
||||
|
||||
isDecorative = nbttagcompound.getBoolean("Decorative");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -114,7 +114,7 @@ public class TileLeaves extends TileTreeContainer implements IPollinatable, IFru
|
||||
caterpillar.writeToNBT(subcompound);
|
||||
nbttagcompound.setTag("CATER", subcompound);
|
||||
}
|
||||
|
||||
nbttagcompound.setBoolean("Decorative", isDecorative);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user