Skip to content

Commit

Permalink
fix: Set default origin in WaystoneBlock as well #913
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Oct 23, 2024
1 parent ddc2da8 commit 281c630
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import net.blay09.mods.balm.api.Balm;
import net.blay09.mods.waystones.api.IWaystone;
import net.blay09.mods.waystones.api.WaystoneOrigin;
import net.blay09.mods.waystones.block.entity.WaystoneBlockEntity;
import net.blay09.mods.waystones.block.entity.WaystoneBlockEntityBase;
import net.blay09.mods.waystones.config.WaystonesConfig;
Expand Down Expand Up @@ -53,7 +54,11 @@ public class WaystoneBlock extends WaystoneBlockBase {

public WaystoneBlock(Properties properties) {
super(properties);
registerDefaultState(this.stateDefinition.any().setValue(HALF, DoubleBlockHalf.LOWER).setValue(WATERLOGGED, false).setValue(FACING, Direction.NORTH));
registerDefaultState(this.stateDefinition.any()
.setValue(HALF, DoubleBlockHalf.LOWER)
.setValue(ORIGIN, WaystoneOrigin.UNKNOWN)
.setValue(WATERLOGGED, false)
.setValue(FACING, Direction.NORTH));
}

@Override
Expand Down

0 comments on commit 281c630

Please sign in to comment.