Add player sparring command

This commit is contained in:
Tanner committed 2026-11-17 22:55:07 +00:00
1 parent 1b9f973db3
commit dbd2831dda
3 files changed
+34 -9

No files matched your search

+5
View File
@@ -477,6 +477,11 @@ class Commands:
self.g.job.state = self.g.job.combat
reply = 'ok'
## 1kill - spars with nearby players within 16 blocks
if command == 'kill':
self.g.job.state = self.g.job.kill
reply = 'ok'
## 1sleep [new] - use a bed; `new` forces bed placement
if command == 'sleep':
self.g.job.sleep_with_bed_states.force_new_bed = (