From 6c83bc6e5897dc38e71b969f1d1d7129553bf36b Mon Sep 17 00:00:00 2001 From: jmp Date: Mon, 29 Mar 2021 02:50:01 -0700 Subject: [PATCH] Remove from Map by key --- .../0698-Make-sure-to-remove-correct-TE-during-TE-tick.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/0698-Make-sure-to-remove-correct-TE-during-TE-tick.patch b/Spigot-Server-Patches/0698-Make-sure-to-remove-correct-TE-during-TE-tick.patch index 010cd8c05..99878fb48 100644 --- a/Spigot-Server-Patches/0698-Make-sure-to-remove-correct-TE-during-TE-tick.patch +++ b/Spigot-Server-Patches/0698-Make-sure-to-remove-correct-TE-during-TE-tick.patch @@ -38,7 +38,7 @@ index 34a9f7b2f998f77b1279516cd09397ab6c2ac1cc..b9e0a17b66e69a02c216c50614bfac45 - if (tileentity != null) { + if (tileentity != null && (match == null || match == tileentity)) { -+ this.tileEntities.remove(tileentity); ++ this.tileEntities.remove(blockposition); + // Paper end tileentity.al_(); }