SchematicSelector.renderItem can not be null
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
acd9f2588c
Commit
a1fca372fc
@ -235,6 +235,10 @@ public class SchematicSelector {
|
|||||||
private SWListInv.SWListEntry<SchematicNode> renderItem(SchematicNode node) {
|
private SWListInv.SWListEntry<SchematicNode> renderItem(SchematicNode node) {
|
||||||
Material m = SWItem.getMaterial(node.getItem());
|
Material m = SWItem.getMaterial(node.getItem());
|
||||||
|
|
||||||
|
if(m == null) {
|
||||||
|
m = Material.AIR;
|
||||||
|
}
|
||||||
|
|
||||||
String name = Core.MESSAGE.parse(filter.name == null?"SCHEM_SELECTOR_ITEM_NAME":"SCHEM_SELECTOR_ITEM_NAME_FILTER", player, node.getName());
|
String name = Core.MESSAGE.parse(filter.name == null?"SCHEM_SELECTOR_ITEM_NAME":"SCHEM_SELECTOR_ITEM_NAME_FILTER", player, node.getName());
|
||||||
|
|
||||||
if(filter.getName() != null) {
|
if(filter.getName() != null) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren