mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Lets check for possible null
This commit is contained in:
parent
804933a294
commit
8601b24ed0
@ -580,6 +580,7 @@ public class ConfigManager {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (material != null)
|
||||
GUIitem = material.newItemStack();
|
||||
if (guiSection.contains("Enchantments")) {
|
||||
List<String> enchants = guiSection.getStringList("Enchantments");
|
||||
|
Loading…
Reference in New Issue
Block a user