1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
This commit is contained in:
TheBusyBiscuit 2019-12-06 08:39:43 +01:00 committed by GitHub
parent 95e70e5838
commit 43033ec3a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
BlockStorage.addBlockInfo(e.getBlock(), "id", sfItem.getID(), true);
SlimefunBlockHandler blockHandler = utilities.blockHandlers.get(sfItem.getID());
if (blockHandler != null) {