preliminary fix because this is relatively easy to do

This commit is contained in:
Leah Anderson 2026-03-02 13:36:12 -07:00
parent d63a688bec
commit 41a0befd07
2 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,7 @@
#include "net.minecraft.world.level.h"
#include "com.mojang.nbt.h"
#include "EntityIO.h"
#include "../Minecraft.Client/OrbisMedia/strings.h"
unordered_map<wstring, entityCreateFn> *EntityIO::idCreateMap = new unordered_map<wstring, entityCreateFn>;
unordered_map<eINSTANCEOF, wstring, eINSTANCEOFKeyHash, eINSTANCEOFKeyEq> *EntityIO::classIdMap = new unordered_map<eINSTANCEOF, wstring, eINSTANCEOFKeyHash, eINSTANCEOFKeyEq>;
unordered_map<int, entityCreateFn> *EntityIO::numCreateMap = new unordered_map<int, entityCreateFn>;

View file

@ -7,6 +7,7 @@
#include "net.minecraft.world.item.h"
#include "SynchedEntityData.h"
#include "../Minecraft.Client/Windows64/Windows64_App.h"
SynchedEntityData::SynchedEntityData()
{
@ -555,4 +556,4 @@ bool SynchedEntityData::DataItem::isDirty()
void SynchedEntityData::DataItem::setDirty(bool dirty)
{
this->dirty = dirty;
}
}