Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 11:00:06 +01:00
Remove from Map by key
Dieser Commit ist enthalten in:
Ursprung
857852c28a
Commit
6c83bc6e58
@ -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_();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren