Farmed trees will now correctly regrow based on the same timer as other trees, rather than being tied to growth cycles

Implemented admin ::instachop command
This commit is contained in:
Syndromeramo
2025-10-07 12:46:13 +00:00
committed by Ryan
parent d6f32c56fc
commit 5719d03e4d
5 changed files with 77 additions and 4 deletions
@@ -239,6 +239,14 @@ class FunCommandSet : CommandSet(Privilege.ADMIN) {
}
}
/**
* Toggle instant woodcutting.
*/
define("instachop", Privilege.ADMIN, "", "Fells trees after a single log is gathered."){ player, _ ->
player.setAttribute("instachop", !player.getAttribute("instachop", false))
notify(player,"Instachop mode " + if (player.getAttribute("instachop", false)) "on." else "off.")
}
}
fun bury(player: Player){