Force remove the entites, fuck away check.

Former-commit-id: 906f35aa1dd14ce0d62aa1e75733ea341073ba77
Former-commit-id: 220b4793aeafb1d033365ea8e2e2786b852e3aae
This commit is contained in:
Ghost_chu committed 2019-12-12 15:28:23 +08:00
1 parent bdbcc50494
commit 5bc0625eba
2 files changed
+3 -3

No files matched your search

@@ -147,8 +147,8 @@ public class ArmorStandDisplayItem implements DisplayItem {
@Override
public void remove() {
if (this.armorStand == null || !this.armorStand.isValid() || this.armorStand.isDead()) {
Util.debugLog("Ignore the armorStand removing because the armorStand is already gone.");
if (this.armorStand == null) {
Util.debugLog("Ignore the armorStand removing because the armorStand not spawned.");
return;
}
this.armorStand.remove();
@@ -92,7 +92,7 @@ public class RealDisplayItem implements DisplayItem {
@Override
public void remove() {
if (this.item == null || !this.item.isValid() || this.item.isDead()) {
if (this.item == null) {
Util.debugLog("Ignore the Item removing because the Item is already gone.");
return;
}