Skip to content

Commit

Permalink
improve hopper32k comment
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Jul 28, 2024
1 parent 9540dd6 commit b5a8610
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ private void onInventoryOpen(InventoryOpenEvent event) {
}

if (config.getBoolean(configPath + ".prevent-hopper32k-mechanic", false, """
Prevents Hopper32k mechanic of placing a shulker containing illegals\s
on top of a hopper, then using the illegal out of the hoppers inventory.\s
Prevents Hopper32k mechanic of placing a shulker containing illegals on top\s
of a hopper, then using the illegal out of the hopper's inventory.\s
WARNING: Hooks into InventoryMoveItemEvent, which can become VERY resource\s
intense as the event fires for every single item getting moved by the\s
hopper. Enable only if you need to.""")) {
intense as the event fires in high frequencies as soon as players start using\s
farms or item sorters. Recommended to leave off if not necessary.""")) {
optionalListeners.add(new Listener() {
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
private void onItemGoesThroughHopper(InventoryMoveItemEvent event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ private void onInventoryOpen(InventoryOpenEvent event) {
}

if (config.getBoolean(configPath + ".prevent-hopper32k-mechanic", false,
"Prevents Hopper32k mechanic of placing a shulker containing illegals\n" +
"on top of a hopper, then using the illegal out of the hoppers inventory.\n" +
"WARNING: Hooks into InventoryMoveItemEvent, which can become VERY resource\n" +
"intense as the event fires for every single item getting moved by the\n" +
"hopper. Enable only if you are very sure you need this.")) {
"Prevents Hopper32k mechanic of placing a shulker containing illegals on top\n" +
"of a hopper, then using the illegal out of the hopper's inventory.\n" +
"WARNING: Hooks into InventoryMoveItemEvent, which can become VERY resource\n" +
"intense as the event fires in high frequencies as soon as players start using\n" +
"farms or item sorters. Recommended to leave off if not necessary.")) {
optionalListeners.add(new Listener() {
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
private void onItemGoesThroughHopper(InventoryMoveItemEvent event) {
Expand Down

0 comments on commit b5a8610

Please sign in to comment.