Skip to content

Commit

Permalink
Disable assertSlot temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Permdog99 committed Feb 12, 2025
1 parent 9f25095 commit c5a3a28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public CraftingMenuMixin(MenuType<?> menuType, int containerId) {

@Unique
private void assertSlot(int slot, int min, int max) {
if (slot >= min && slot < max) return;
throw new IllegalArgumentException();
if (slot >= min && slot < max) return; /// Disabled due to logger spitting it out non-stop
// throw new IllegalArgumentException();
}
@Override
public VirtualPlayerInventory lt$getVirtualPlayerInventory() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public InventoryMenuMixin(MenuType<?> menuType, int containerId) {

@Unique
private void assertSlot(int slot, int min, int max) {
if (slot >= min && slot < max) return;
throw new IllegalArgumentException();
if (slot >= min && slot < max) return; /// Disabled due to logger spitting it out non-stop
// throw new IllegalArgumentException();
}

@Override
Expand Down

0 comments on commit c5a3a28

Please sign in to comment.