Add Check
EnergonRelics/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-08-20 15:58:18 -04:00
parent ce2e2df2d5
commit f38f6fbced
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ public class StructureGeneratorBlock extends SimpleBlockWithEntity {
@Override
public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) {
super.onBlockAdded(state, world, pos, oldState, notify);
schedule(world, pos);
if (world instanceof ServerWorld) {
schedule(world, pos);
}
}
public void schedule(World world, BlockPos pos) {