Fixed incorrect property name on zap wood blocks

This commit is contained in:
Sollace 2023-05-25 11:56:42 +01:00
parent f620227e35
commit 86c569127a
2 changed files with 2 additions and 4 deletions

View file

@ -8,13 +8,12 @@ import net.minecraft.item.ItemPlacementContext;
import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.state.StateManager;
import net.minecraft.state.property.BooleanProperty;
import net.minecraft.state.property.Properties;
import net.minecraft.util.math.*;
import net.minecraft.world.BlockView;
import net.minecraft.world.World;
public class ZapAppleLogBlock extends PillarBlock {
public static final BooleanProperty NATURAL = Properties.PERSISTENT;
public static final BooleanProperty NATURAL = ZapBlock.NATURAL;
private final Block artifialModelBlock;

View file

@ -13,14 +13,13 @@ import net.minecraft.item.ItemPlacementContext;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.state.StateManager;
import net.minecraft.state.property.BooleanProperty;
import net.minecraft.state.property.Properties;
import net.minecraft.util.math.*;
import net.minecraft.world.BlockView;
import net.minecraft.world.World;
import net.minecraft.world.event.GameEvent;
public class ZapBlock extends Block {
public static final BooleanProperty NATURAL = Properties.PERSISTENT;
public static final BooleanProperty NATURAL = BooleanProperty.of("natural");
private final Block artificialModelBlock;