Skip to content

Commit 9db74b1

Browse files
committed
Certainly fix the problem that selective-tileentity-update causes some blocks not to update correctly.
1 parent 7e21b91 commit 9db74b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/github/kasuminova/mmce/common/handler/EventHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class EventHandler {
2525
@SubscribeEvent
2626
public void onPlayerRightClickBlock(PlayerInteractEvent.RightClickBlock event) {
2727
World world = event.getWorld();
28-
if (Config.selectiveUpdateTileEntity || world.isRemote) {
28+
if (!Config.selectiveUpdateTileEntity || world.isRemote) {
2929
return;
3030
}
3131

0 commit comments

Comments
 (0)