mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-09 09:47:50 +01:00
Fix another NPE in MaterialConverter.
This commit is contained in:
parent
5e067fa72d
commit
d7894eb847
@ -36,7 +36,7 @@ public class MaterialConverter {
|
||||
if (mapping != null) {
|
||||
return Material.matchMaterial(mapping.getFlatteningType());
|
||||
} else {
|
||||
return Material.matchMaterial(value);
|
||||
return Material.matchMaterial(value != null ? value : "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user