Remove from Map by key
This commit is contained in:
@@ -38,7 +38,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
|
|
||||||
- if (tileentity != null) {
|
- if (tileentity != null) {
|
||||||
+ if (tileentity != null && (match == null || match == tileentity)) {
|
+ if (tileentity != null && (match == null || match == tileentity)) {
|
||||||
+ this.tileEntities.remove(tileentity);
|
+ this.tileEntities.remove(blockposition);
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
tileentity.al_();
|
tileentity.al_();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user