mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Fixes #1280
This commit is contained in:
parent
95e70e5838
commit
43033ec3a4
@ -81,9 +81,7 @@ public class ToolListener implements Listener {
|
||||
SlimefunPlugin.getBlockDataService().setBlockData((TileState) e.getBlock().getState(), sfItem.getID());
|
||||
}
|
||||
|
||||
if (!supportsPersistentData || sfItem.isTicking()) {
|
||||
BlockStorage.addBlockInfo(e.getBlock(), "id", sfItem.getID(), true);
|
||||
}
|
||||
|
||||
SlimefunBlockHandler blockHandler = utilities.blockHandlers.get(sfItem.getID());
|
||||
if (blockHandler != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user