Skip to content

Commit

Permalink
Told myself to change it and still forgot
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAHuman-xD authored Nov 19, 2024
1 parent 2dff0fb commit b6b8e70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,10 @@ public void openSearch(PlayerProfile profile, String input, boolean addToHistory
if (isSurvivalMode()) {
displayItem(profile, slimefunItem, true);
} else if (pl.hasPermission("slimefun.cheat.items")) {
if (sfitem instanceof MultiBlockMachine) {
if (slimefunItem instanceof MultiBlockMachine) {
Slimefun.getLocalization().sendMessage(pl, "guide.cheat.no-multiblocks");
} else {
ItemStack clonedItem = sfitem.getItem().clone();
ItemStack clonedItem = slimefunItem.getItem().clone();

if (action.isShiftClicked()) {
clonedItem.setAmount(clonedItem.getMaxStackSize());
Expand Down

0 comments on commit b6b8e70

Please sign in to comment.