Handle loading / unloading chunks better
This commit is contained in:
+3
-1
@@ -149,7 +149,9 @@ class Commands:
|
||||
|
||||
## !loaded - replies with the current loaded area
|
||||
if command == 'loaded':
|
||||
reply = str(self.g.chunks.get_loaded_area())
|
||||
l = self.g.chunks.get_loaded_area()
|
||||
reply = '{}, {}, {} to {}, {}, {}'.format(*l[0], *l[1])
|
||||
reply += ' - ' + str(len(self.g.chunks.chunks)//16) + ' chunks'
|
||||
|
||||
## !players - prints the current players
|
||||
## !players clear - clears the current player list
|
||||
|
||||
Reference in New Issue
Block a user