mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixed a small bug
This commit is contained in:
parent
107483d64f
commit
7944c44c43
@ -54,6 +54,7 @@
|
|||||||
#### Changes
|
#### Changes
|
||||||
|
|
||||||
#### Fixes
|
#### Fixes
|
||||||
|
* Fixed error message when clicking empty slots in the Slimefun Guide
|
||||||
|
|
||||||
## Release Candidate 10 (28 Mar 2020)
|
## Release Candidate 10 (28 Mar 2020)
|
||||||
|
|
||||||
|
@ -506,7 +506,7 @@ public class ChestSlimefunGuide implements SlimefunGuideImplementation {
|
|||||||
|
|
||||||
MenuClickHandler clickHandler = (pl, slot, itemstack, action) -> {
|
MenuClickHandler clickHandler = (pl, slot, itemstack, action) -> {
|
||||||
try {
|
try {
|
||||||
if (itemstack.getType() != Material.BARRIER) {
|
if (itemstack != null && itemstack.getType() != Material.BARRIER) {
|
||||||
displayItem(profile, itemstack, 0, true);
|
displayItem(profile, itemstack, 0, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user