Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ public void onBlockStateChanged(BlockPos pos, BlockState state) {
}
} else {
IMultiController controller = getController();
if (controller == null && error == UNLOAD_ERROR) {
if (!serverLevel.isLoaded(controllerPos)) {
GTCEu.LOGGER.info("Controller not loaded, pos {}", controllerPos);
}
}
if (controller != null) {
if (controller.isFormed() && state.getBlock() instanceof ActiveBlock) {
LongSet activeBlocks = getMatchContext().getOrDefault("vaBlocks", LongSets.emptySet());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public abstract class LevelMixin implements LevelAccessor {
@SuppressWarnings("ConstantValue")
@Inject(method = "markAndNotifyBlock",
at = @At(value = "INVOKE",
target = "Lnet/minecraft/world/level/Level;blockUpdated(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/Block;)V",
target = "Lnet/minecraft/world/level/Level;setBlocksDirty(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/world/level/block/state/BlockState;)V",
remap = true),
remap = false)
private void gtceu$updateChunkMultiblocks(BlockPos pos, LevelChunk chunk,
Expand Down
Loading