From a0f1649d045a1456a099bd651771fb0c95dc0925 Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Mon, 24 Jul 2023 05:04:40 -0400 Subject: [PATCH] Remove isRemoved skip on .discard() (#9520) --- patches/server/Folia-scheduler-and-owned-region-API.patch | 8 -------- 1 file changed, 8 deletions(-) diff --git a/patches/server/Folia-scheduler-and-owned-region-API.patch b/patches/server/Folia-scheduler-and-owned-region-API.patch index 223843d721..0102ef837e 100644 --- a/patches/server/Folia-scheduler-and-owned-region-API.patch +++ b/patches/server/Folia-scheduler-and-owned-region-API.patch @@ -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; }