mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-01 20:03:06 +00:00
preliminary fix because this is relatively easy to do
This commit is contained in:
parent
d63a688bec
commit
41a0befd07
|
|
@ -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>;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue