mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 10:29:48 -05:00
Force remove the entites, fuck away check.
Former-commit-id: 906f35aa1dd14ce0d62aa1e75733ea341073ba77 Former-commit-id: 220b4793aeafb1d033365ea8e2e2786b852e3aae
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user