Fix some dumb bugs and crashes

This commit is contained in:
Vincent Lee committed 2019-09-13 21:55:33 -05:00
1 parent 7d318bb3bf
commit 107097af0d
6 files changed
+33 -11

No files matched your search

@@ -221,7 +221,7 @@ public class TileEntityGeneratingFlower extends TileEntitySpecialFlower {
public void onBlockPlacedBy(World world, BlockPos pos, BlockState state, LivingEntity entity, ItemStack stack) {
super.onBlockPlacedBy(world, pos, state, entity, stack);
if(isPassiveFlower()) {
CompoundNBT cmp = stack.getTag();
CompoundNBT cmp = stack.getOrCreateTag();
passiveDecayTicks = cmp.getInt(TAG_PASSIVE_DECAY_TICKS);
}
}