mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2025-01-25 01:31:33 +01:00
Update AbstractStorage.java
Tool armor stands were not being removed
This commit is contained in:
parent
bc88feaf00
commit
a5df23d1d1
@ -234,6 +234,8 @@ public abstract class AbstractStorage implements ConfigurationSerializable {
|
||||
if(blockStand != null) blockStand.remove();
|
||||
ArmorStand itemStand = locationInfo.getItemStand();
|
||||
if(itemStand != null) itemStand.remove();
|
||||
ArmorStand toolStand = locationInfo.getToolItemStand();
|
||||
if(toolStand != null) toolStand.remove();
|
||||
});
|
||||
//Remove this location from storage.
|
||||
locationInfoList.removeIf(locationInfo -> locationInfo.getLocation().equals(location));
|
||||
|
Loading…
Reference in New Issue
Block a user