Make seekers slightly faster than hiders
This commit is contained in:
parent
acd906ee8c
commit
9f3416999c
@ -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);
|
||||
|
||||
|
@ -127,6 +127,7 @@ public class OnEntityDamageByEntityEvent implements Listener {
|
||||
arena.waitingTimeSeeker);
|
||||
player.teleport(arena.seekersWarp);
|
||||
player.setGameMode(GameMode.SURVIVAL);
|
||||
player.setWalkSpeed(0.25F);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user