mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 17:01:28 +01:00
Fix for error.
This commit is contained in:
parent
307b99c19d
commit
6681df1d6b
@ -117,7 +117,12 @@ public class LevellingManager {
|
||||
|
||||
for (Material materialList : materialStorage) {
|
||||
if (materialList == null) continue;
|
||||
ItemStack is = materialList.getItemStack();
|
||||
ItemStack is;
|
||||
try {
|
||||
is = materialList.getItemStack();
|
||||
} catch (Exception ignored) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (blockMaterial != materialList.getItemStack().getType()) continue;
|
||||
if (NMSVersion < 13) {
|
||||
|
Loading…
Reference in New Issue
Block a user