mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-19 22:12:11 +01:00
Fix another NPE in MaterialConverter.
(cherry picked from commit d7894eb847
)
This commit is contained in:
parent
a7ba33fb3e
commit
bec76364aa
@ -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