Better fix for invulnerable crystals and improve Origin API (#5761)

This commit is contained in:
Max Lee
2021-06-07 16:38:33 +01:00
parent 0437aeebb7
commit 513393d4cf
4 changed files with 51 additions and 34 deletions

View File

@@ -56,7 +56,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public com.destroystokyo.paper.loottable.PaperLootableInventoryData lootableData; // Paper
@@ -0,0 +0,0 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, ne
if (this.origin != null) {
nbttagcompound.setUUID("Paper.OriginWorld", origin.getWorld().getUID());
nbttagcompound.set("Paper.Origin", this.createList(origin.getX(), origin.getY(), origin.getZ()));
}
+ if (spawnReason != null) {