mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-21 04:05:48 +00:00
f278abc76a
This fixes a bug that led to abandoned ArmorStands (what I was referring to when I said "target") that lingered after the hopper was destroyed. The issue was that tick (called asynchronously) was creating a new ArmorStand (via InfusedHopper.getArmorStand()) after the block handler's onBreak call removed the one that was created in onPlace. The code that recreates the ArmorStand remains in tick() just in case, somehow, it ends up getting removed by some other force. However, this code should never be reached if the hopper itself is removed. This fixes TheBusyBiscuit/Slimefun4#189, fixes TheBusyBiscuit/Slimefun4#190, and fixes TheBusyBiscuit/Slimefun4#428. |
||
---|---|---|
.. | ||
Files.java | ||
Messages.java | ||
MiscSetup.java | ||
ResearchSetup.java | ||
SlimefunManager.java | ||
SlimefunSetup.java | ||
WikiSetup.java |