debugging

This commit is contained in:
jomo
2014-07-16 02:15:23 +02:00
parent 8f0d9611b0
commit 59e16e24a6

View File

@@ -135,8 +135,8 @@ def on_move(event):
set_velocity_away(player, entity) set_velocity_away(player, entity)
if not player.hasPermission(ff_perms[1]): # player should be blocked, entity has forcefield if not player.hasPermission(ff_perms[1]): # player should be blocked, entity has forcefield
for entity in player.getNearbyEntities(fd, fd, fd):
try: try:
for entity in player.getNearbyEntities(fd, fd, fd):
entity_id = str(entity.getUniqueId()) 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]): if is_player(entity) and (entity_id in ff_users) and (entity_id in whitelists) and (player_id not in whitelists[entity_id]):