1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-02-06 23:41:21 +01:00

Defaulting GUI itemstack to stone

This commit is contained in:
Zrips 2024-06-11 11:05:41 +03:00
parent f430bcfd30
commit 8010899bdf

View File

@ -294,7 +294,7 @@ public class Job {
}
public ItemStack getGuiItem() {
return guiItem == null ? null : guiItem.getGuiItem();
return guiItem == null ? CMIMaterial.STONE.newItemStack() : guiItem.getGuiItem();
}
public int getGuiSlot() {