mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Merge pull request #1514 from StarWishsama/patch-1
Fixed can't back in setting opened by command
This commit is contained in:
commit
92ab904a41
@ -64,6 +64,9 @@ public final class SlimefunGuide {
|
|||||||
}
|
}
|
||||||
else if (SlimefunManager.isItemSimilar(guide, getItem(SlimefunGuideLayout.CHEAT_SHEET), true)) {
|
else if (SlimefunManager.isItemSimilar(guide, getItem(SlimefunGuideLayout.CHEAT_SHEET), true)) {
|
||||||
openGuide(p, SlimefunGuideLayout.CHEAT_SHEET);
|
openGuide(p, SlimefunGuideLayout.CHEAT_SHEET);
|
||||||
|
} else {
|
||||||
|
// When using /sf cheat or /sf open_guide, ItemStack is null.
|
||||||
|
openGuide(p, SlimefunGuideLayout.CHEST);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user