Merge branch 'master' into 1.15
This commit is contained in:
commit
f2427c6c07
4 files changed
+63
-4
No files matched your search
@@ -82,6 +82,8 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
|
||||
|
||||
public static String nameFromRegistryId(Identifier id)
|
||||
{
|
||||
if (id == null) // should be Value.NULL
|
||||
return "";
|
||||
if (id.getNamespace().equals("minecraft"))
|
||||
return id.getPath();
|
||||
return id.toString();
|
||||
|
||||
Reference in new issue
Block a user