Make seekers slightly faster than hiders

This commit is contained in:
addstar 2014-02-08 01:35:54 +11:00
parent acd906ee8c
commit 9f3416999c
2 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,7 @@ public class ArenaHandler {
new ItemStack(Material.AIR));
player.setFlying(false);
player.setAllowFlight(false);
player.setWalkSpeed(0.25F);
if ((Boolean) W.config
.get(ConfigC.shop_blockChooserv1Enabled) == true) {
@ -332,6 +333,7 @@ public class ArenaHandler {
arena.seekers.add(seeker);
seeker.teleport(arena.seekersWarp);
W.seekertime.put(seeker, arena.waitingTimeSeeker);
seeker.setWalkSpeed(0.25F);
}
}
@ -357,6 +359,7 @@ public class ArenaHandler {
if (player.getAllowFlight()) {
player.setFlying(true);
}
player.setWalkSpeed(0.2F);
W.pData.remove(player);

View File

@ -127,6 +127,7 @@ public class OnEntityDamageByEntityEvent implements Listener {
arena.waitingTimeSeeker);
player.teleport(arena.seekersWarp);
player.setGameMode(GameMode.SURVIVAL);
player.setWalkSpeed(0.25F);
}
}
}