1
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:
Senne 2021-10-06 14:30:40 +02:00
parent d3c9bbdcac
commit da988c981f
No known key found for this signature in database
GPG Key ID: EA68733326BBA376

View File

@ -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());