Commits

Andrew Godwin  committed c43536f

Admin blocks plugin fix

  • Participants
  • Parent commits 8f1c1fa

Comments (0)

Files changed (1)

File myne/plugins/adminblocks.py

         if onoff == "on":
             self.client.world.admin_blocks = True
             self.client.sendWorldMessage("Admin blocks are now enabled here.")
-            self.client.sendServerMessage("Admin Blocks on in %s" % self.world.id)
+            self.client.sendServerMessage("Admin Blocks on in %s" % self.client.world.id)
         else:
             self.client.world.admin_blocks = False
             self.client.sendWorldMessage("Admin blocks are now disabled here.")
-            self.client.sendServerMessage("Admin Blocks off in %s" % self.world.id)
+            self.client.sendServerMessage("Admin Blocks off in %s" % self.client.world.id)
         for client in self.client.world.clients:
             client.sendAdminBlockUpdate()