13
0
geforkt von Mirrors/Paper

Remove isRemoved skip on .discard() (#9520)

Dieser Commit ist enthalten in:
Owen1212055 2023-07-24 05:04:40 -04:00
Ursprung 587085e41a
Commit a0f1649d04

Datei anzeigen

@ -1186,14 +1186,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@Override
public CommandSender getBukkitSender(CommandSourceStack wrapper) {
return this.getBukkitEntity();
@@ -0,0 +0,0 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
}
public final void discard() {
+ if (this.isRemoved()) return; // Paper
this.remove(Entity.RemovalReason.DISCARDED);
}
@@ -0,0 +0,0 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
return;
}