Exemplo n.º 1
0
 def unrestrict_weapons(self, *weapons):
     """Restrict the weapon for the player.
     :param str weapons: A weapon or any number of weapons to remove
         as restricted for the player.
     """
     from weapons.restrictions import weapon_restriction_handler
     weapon_restriction_handler.remove_player_restrictions(self, *weapons)
Exemplo n.º 2
0
 def unrestrict_weapons(self, *weapons):
     """Restrict the weapon for the player.
     :param str weapons: A weapon or any number of weapons to remove
         as restricted for the player.
     """
     from weapons.restrictions import weapon_restriction_handler
     weapon_restriction_handler.remove_player_restrictions(self, *weapons)