mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-30 20:57:08 +00:00
cleanup: flatten dead branches in world io level network and stats
This commit is contained in:
@@ -78,16 +78,6 @@ void SynchedEntityData::defineNULL(int id, void* pVal) {
|
||||
}
|
||||
|
||||
void SynchedEntityData::checkId(int id) {
|
||||
#if 0
|
||||
if (id > MAX_ID_VALUE)
|
||||
{
|
||||
throw new IllegalArgumentException(L"Data value id is too big with " + _toString<int>(id) + L"! (Max is " + _toString<int>(MAX_ID_VALUE) + L")");
|
||||
}
|
||||
if (itemsById.find(id) != itemsById.end())
|
||||
{
|
||||
throw new IllegalArgumentException(L"Duplicate id value for " + _toString<int>(id) + L"!");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
uint8_t SynchedEntityData::getByte(int id) {
|
||||
|
||||
Reference in New Issue
Block a user