Fix up handling null names. *sigh*
This commit is contained in:
parent
e6c71bb148
commit
25c367f9db
1 changed files with 6 additions and 0 deletions
|
@ -132,6 +132,12 @@ public class ItemData {
|
|||
|
||||
public void setName(String name, String modId)
|
||||
{
|
||||
if (name == null)
|
||||
{
|
||||
this.forcedName = null;
|
||||
this.forcedModId = null;
|
||||
return;
|
||||
}
|
||||
String localModId = modId;
|
||||
if (modId == null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue