Fix entity write catch block (#3726)
This commit is contained in:
parent
c49ff259b5
commit
724ffe1d70
|
@ -107,14 +107,17 @@
|
||||||
this.func_75824_a(p_75816_2_.func_76632_l(), nbttagcompound);
|
this.func_75824_a(p_75816_2_.func_76632_l(), nbttagcompound);
|
||||||
}
|
}
|
||||||
catch (Exception exception)
|
catch (Exception exception)
|
||||||
@@ -307,8 +368,17 @@
|
@@ -305,11 +366,20 @@
|
||||||
|
|
||||||
if (entity.func_70039_c(nbttagcompound2))
|
|
||||||
{
|
{
|
||||||
|
NBTTagCompound nbttagcompound2 = new NBTTagCompound();
|
||||||
|
|
||||||
+ try
|
+ try
|
||||||
+ {
|
+ {
|
||||||
|
if (entity.func_70039_c(nbttagcompound2))
|
||||||
|
{
|
||||||
p_75820_1_.func_177409_g(true);
|
p_75820_1_.func_177409_g(true);
|
||||||
nbttaglist1.func_74742_a(nbttagcompound2);
|
nbttaglist1.func_74742_a(nbttagcompound2);
|
||||||
|
}
|
||||||
+ }
|
+ }
|
||||||
+ catch (Exception e)
|
+ catch (Exception e)
|
||||||
+ {
|
+ {
|
||||||
|
@ -124,7 +127,7 @@
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -318,8 +388,17 @@
|
@@ -318,8 +388,17 @@
|
||||||
|
|
||||||
for (TileEntity tileentity : p_75820_1_.func_177434_r().values())
|
for (TileEntity tileentity : p_75820_1_.func_177434_r().values())
|
||||||
|
|
Loading…
Reference in New Issue