mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-02-26 15:21:24 +01:00
you know the drill
This commit is contained in:
parent
89d7dd1c4c
commit
76af128d8f
@ -136,9 +136,9 @@ public class BlockListener implements Listener {
|
||||
* Finally enable block regen.
|
||||
*/
|
||||
if (info.hasRegen()) {
|
||||
Schedulers.sync().run(()-> {
|
||||
Schedulers.sync().runLater(()-> {
|
||||
MMOCore.plugin.mineManager.initialize(info.startRegeneration(Bukkit.createBlockData(savedData), block.getLocation()), !temporaryBlock);
|
||||
});
|
||||
}, 1);
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user