Okay.... WTF....

This commit is contained in:
peytonplayz585 2023-07-31 19:20:57 -07:00
parent d71ebcd83f
commit f82f9a6758
3 changed files with 7 additions and 5 deletions

View File

@ -1129,11 +1129,11 @@ function nP_MinecraftMain_main($args) {
$ex2 = nPn_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($args))); $ex2 = nPn_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($args)));
if ($ex2 !== null && $ex2 instanceof nPn_NBTTagCompound) if ($ex2 !== null && $ex2 instanceof nPn_NBTTagCompound)
nPs_LevelStorageManager_levelStorage = $ex2; nPs_LevelStorageManager_levelStorage = $ex2;
}
if (nPs_LevelStorageManager_levelStorage.$tagMap === null) if (nPs_LevelStorageManager_levelStorage.$tagMap === null)
nPs_LevelStorageManager_levelStorage = null; nPs_LevelStorageManager_levelStorage = null;
else if (!nPs_LevelStorageManager_levelStorage.$tagMap.$elementCount) else if (!nPs_LevelStorageManager_levelStorage.$tagMap.$elementCount)
nPs_LevelStorageManager_levelStorage = null; nPs_LevelStorageManager_levelStorage = null;
}
$ex2 = nmc_Minecraft__init_(olo_WebGL_getCanvasWidth(), olo_WebGL_getCanvasHeight()); $ex2 = nmc_Minecraft__init_(olo_WebGL_getCanvasWidth(), olo_WebGL_getCanvasHeight());
var$7 = new nmc_Session; var$7 = new nmc_Session;
nmc_Session_$callClinit(); nmc_Session_$callClinit();

File diff suppressed because one or more lines are too long

View File

@ -23,6 +23,8 @@ public class LevelStorageManager {
if(nbtBase != null && nbtBase instanceof NBTTagCompound) { if(nbtBase != null && nbtBase instanceof NBTTagCompound) {
levelStorage = (NBTTagCompound)nbtBase; levelStorage = (NBTTagCompound)nbtBase;
} }
} else {
return;
} }
if(levelStorage.tagMap == null) { if(levelStorage.tagMap == null) {