generated from tilera/1710mod
fix: crash with CustomModspawner
This commit is contained in:
parent
1e4a415643
commit
091cb159d2
2 changed files with 4 additions and 2 deletions
|
@ -27,7 +27,7 @@ sourceSets {
|
|||
api {}
|
||||
}
|
||||
|
||||
version = "1.0.8"
|
||||
version = "1.0.9"
|
||||
group = "universalelectricity"
|
||||
archivesBaseName = "icbm"
|
||||
|
||||
|
|
|
@ -665,7 +665,9 @@ public class EMissile extends Entity
|
|||
|
||||
@Override
|
||||
protected void writeEntityToNBT(final NBTTagCompound nbt) {
|
||||
nbt.setTag("kaiShi", this.origin.writeToNBT(new NBTTagCompound()));
|
||||
if (this.origin != null) {
|
||||
nbt.setTag("kaiShi", this.origin.writeToNBT(new NBTTagCompound()));
|
||||
}
|
||||
|
||||
if (this.target != null) {
|
||||
nbt.setTag("muBiao", this.target.writeToNBT(new NBTTagCompound()));
|
||||
|
|
Loading…
Reference in a new issue