Skip to content

Commit

Permalink
Prison NBT: removed debug code which was generating a lot of entries …
Browse files Browse the repository at this point in the history
…in the logs.
  • Loading branch information
rbluer committed Jul 7, 2024
1 parent 60c5190 commit b30c039
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions docs/changelog_v3.3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ These change logs represent the work that has been going on within prison.
# 3.3.0-alpha.18b 2024-07-07


* **Prison NBT: removed debug code which was generating a lot of entries in the logs.**


* **Mine bombs: Setup throwing of mine bombs.**
The mine bombs can now be thrown. If they don't land within the mine, then they are not removed from the player's inventory.
The check for the mine is performed where the block lands. The throwing velocity can be controlled in the settings of each mine bomb; the higher the value, the farther the player can throw the bomb, which can easily be outside of the mine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ public static void setNBTString( ItemStack bukkitStack, String key, String value
nbt.setString(key, value);
});

if ( isEnableDebugLogging() ) {
nbtDebugLog( bukkitStack, "setNBTString" );
}
// if ( isEnableDebugLogging() ) {
// nbtDebugLog( bukkitStack, "setNBTString" );
// }
}
catch (Exception e) {
Output.get().logInfo(
Expand Down Expand Up @@ -139,9 +139,9 @@ public static void setNBTBoolean( ItemStack bukkitStack, String key, boolean val
nbt.setBoolean(key, value);
});

if ( isEnableDebugLogging() ) {
nbtDebugLog( bukkitStack, "setNBTBoolean" );
}
// if ( isEnableDebugLogging() ) {
// nbtDebugLog( bukkitStack, "setNBTBoolean" );
// }
}
catch (Exception e) {
Output.get().logInfo(
Expand Down

0 comments on commit b30c039

Please sign in to comment.