sharper target
This commit is contained in:
parent
1a0d90a495
commit
5c632a1e3a
@ -286,9 +286,9 @@ public class SnowFight extends TeamGame
|
||||
|
||||
//random offset to player location
|
||||
Location location = player.getLocation().add(
|
||||
(Math.random() - 0.5) * 32,
|
||||
(Math.random() - 0.5) * 24,
|
||||
0,
|
||||
(Math.random() - 0.5) * 32);
|
||||
(Math.random() - 0.5) * 24);
|
||||
|
||||
//highest block!
|
||||
location = WorldData.World.getHighestBlockAt(location).getLocation().add(0.5, 0, 0.5);
|
||||
|
Loading…
Reference in New Issue
Block a user