Add player sparring command
This commit is contained in:
1 parent
1b9f973db3
commit
dbd2831dda
3 files changed
+34
-9
No files matched your search
@@ -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 = (
|
||||
|
||||
Reference in new issue
Block a user