Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -27,7 +27,7 @@ Tag::Tag(const wstring &name)
|
||||
// 4J - Was Object obj
|
||||
bool Tag::equals(Tag *obj)
|
||||
{
|
||||
if (obj == nullptr )// || !(obj instanceof Tag))
|
||||
if (obj == NULL )// || !(obj instanceof Tag))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -150,7 +150,7 @@ Tag *Tag::newTag(byte type, const wstring &name)
|
||||
case TAG_Compound:
|
||||
return new CompoundTag(name);
|
||||
}
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const wchar_t *Tag::getTagName(byte type)
|
||||
|
||||
Reference in New Issue
Block a user