Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

Commit 01e2fbe

Browse files
committed
Fixed player name in promote command.
1 parent 086beb8 commit 01e2fbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/admin_commands_plugin/admin_command_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def promote(self, data):
8888
rank.upper()))
8989
self.protocol.factory.protocols[player.protocol].send_chat_message(
9090
"%s has promoted you to %s" % (
91-
player.colored_name(self.config.colors), rank.upper()))
91+
self.protocol.player.colored_name(self.config.colors), rank.upper()))
9292
else:
9393
self.protocol.send_chat_message("Player not found!\n" + self.promote.__doc__)
9494
return

0 commit comments

Comments
 (0)