mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Use correct if
This commit is contained in:
parent
d3c9bbdcac
commit
da988c981f
@ -313,7 +313,7 @@ public class SurvivalSlimefunGuide implements SlimefunGuideImplementation {
|
||||
if (sfitem instanceof MultiBlockMachine) {
|
||||
Slimefun.getLocalization().sendMessage(pl, "guide.cheat.no-multiblocks");
|
||||
} else {
|
||||
if (p.isSneaking()) {
|
||||
if (action.isShiftClicked()) {
|
||||
ItemStack sfItem = sfitem.getItem().clone();
|
||||
sfItem.setAmount(sfItem.getMaxStackSize());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user