mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-28 00:55:29 +01:00
fix vanilla-drops set to false dropping the regen block as well?
This commit is contained in:
parent
d2999a0e2c
commit
89d7dd1c4c
@ -136,9 +136,9 @@ public class BlockListener implements Listener {
|
|||||||
* Finally enable block regen.
|
* Finally enable block regen.
|
||||||
*/
|
*/
|
||||||
if (info.hasRegen()) {
|
if (info.hasRegen()) {
|
||||||
Schedulers.async().runLater(()-> {
|
Schedulers.sync().run(()-> {
|
||||||
MMOCore.plugin.mineManager.initialize(info.startRegeneration(Bukkit.createBlockData(savedData), block.getLocation()), !temporaryBlock);
|
MMOCore.plugin.mineManager.initialize(info.startRegeneration(Bukkit.createBlockData(savedData), block.getLocation()), !temporaryBlock);
|
||||||
}, 1);
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user