Skip to content

Commit

Permalink
move a debug log to explicit debugging (#8316)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Jan 26, 2025
1 parent fe1a888 commit 6d482d4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ public void refreshChunkTickets() {
*/
private void refreshChunkTickets(@NotNull ServerLevel world, @NotNull BlockPos pos, boolean ticketsChanged) {
boolean canOperate = canOperate();
LOGGER.debug("refreshChunkTickets called for {}. Can operate = {}", pos, canOperate);
if (MekanismAPI.debug) {
LOGGER.debug("refreshChunkTickets called for {}. Can operate = {}", pos, canOperate);
}
if (hasRegistered && prevWorld != null && prevPos != null) {
//Note: If we have already registered the previous world and previous position
// should never be null, but we validate this just in case
Expand Down

0 comments on commit 6d482d4

Please sign in to comment.