Okay.... WTF....
This commit is contained in:
parent
d71ebcd83f
commit
f82f9a6758
|
@ -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)
|
||||||
|
nPs_LevelStorageManager_levelStorage = null;
|
||||||
|
else if (!nPs_LevelStorageManager_levelStorage.$tagMap.$elementCount)
|
||||||
|
nPs_LevelStorageManager_levelStorage = null;
|
||||||
}
|
}
|
||||||
if (nPs_LevelStorageManager_levelStorage.$tagMap === null)
|
|
||||||
nPs_LevelStorageManager_levelStorage = null;
|
|
||||||
else if (!nPs_LevelStorageManager_levelStorage.$tagMap.$elementCount)
|
|
||||||
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
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user