mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 05:11:27 +01:00
Remove isRemoved skip on .discard() (#9520)
This commit is contained in:
parent
587085e41a
commit
a0f1649d04
@ -1186,14 +1186,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
@Override
|
@Override
|
||||||
public CommandSender getBukkitSender(CommandSourceStack wrapper) {
|
public CommandSender getBukkitSender(CommandSourceStack wrapper) {
|
||||||
return this.getBukkitEntity();
|
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 {
|
@@ -0,0 +0,0 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user