mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Remove from Map by key
This commit is contained in:
parent
0336df461a
commit
ed27c9d52c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
|
||||
- if (tileentity != null) {
|
||||
+ if (tileentity != null && (match == null || match == tileentity)) {
|
||||
+ this.tileEntities.remove(tileentity);
|
||||
+ this.tileEntities.remove(blockposition);
|
||||
+ // Paper end
|
||||
tileentity.al_();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue