debugging
This commit is contained in:
@@ -135,8 +135,8 @@ def on_move(event):
|
||||
set_velocity_away(player, entity)
|
||||
|
||||
if not player.hasPermission(ff_perms[1]): # player should be blocked, entity has forcefield
|
||||
for entity in player.getNearbyEntities(fd, fd, fd):
|
||||
try:
|
||||
for entity in player.getNearbyEntities(fd, fd, fd):
|
||||
entity_id = str(entity.getUniqueId())
|
||||
|
||||
if is_player(entity) and (entity_id in ff_users) and (entity_id in whitelists) and (player_id not in whitelists[entity_id]):
|
||||
|
||||
Reference in New Issue
Block a user