mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fix up handling null names. *sigh*
This commit is contained in:
1 parent
e6c71bb148
commit
25c367f9db
1 file changed
+6
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user