Skip to content

Commit

Permalink
change owner only ops if op-interact enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilzinsel64 committed Jan 12, 2025
1 parent 14b8f49 commit bae948f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/codechicken/chunkloader/GuiChunkLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ private void drawContainerBackground() {
}

private boolean enableOwner() {
return ChunkLoaderManager.allowOwnerChange() && (!ChunkLoaderManager.userInteract()
|| (ChunkLoaderManager.opInteract() && ServerUtils.isPlayerOP(this.tile.owner)));
return ChunkLoaderManager.allowOwnerChange() && (!ChunkLoaderManager.opInteract() || ServerUtils.isPlayerOP(this.tile.owner));
}

public boolean doesGuiPauseGame() {
Expand Down

0 comments on commit bae948f

Please sign in to comment.