Fix border speed
This commit is contained in:
parent
8335471d34
commit
ddf1eb3824
@ -144,7 +144,7 @@ public class OPCakeWars extends CakeWars
|
|||||||
WorldBorder border = WorldData.World.getWorldBorder();
|
WorldBorder border = WorldData.World.getWorldBorder();
|
||||||
border.setCenter(GetSpectatorLocation());
|
border.setCenter(GetSpectatorLocation());
|
||||||
border.setSize(Math.max(WorldData.MaxX, WorldData.MaxZ) * 2);
|
border.setSize(Math.max(WorldData.MaxX, WorldData.MaxZ) * 2);
|
||||||
border.setSize(20, TimeUnit.MINUTES.toMillis(10) / 50);
|
border.setSize(40, TimeUnit.MINUTES.toSeconds(15));
|
||||||
border.setDamageAmount(0);
|
border.setDamageAmount(0);
|
||||||
|
|
||||||
UtilTextMiddle.display(C.cRedB + "Sugar Crash", "The border is closing in.", 0, 50, 0, UtilServer.getPlayers());
|
UtilTextMiddle.display(C.cRedB + "Sugar Crash", "The border is closing in.", 0, 50, 0, UtilServer.getPlayers());
|
||||||
|
@ -65,7 +65,7 @@ public class CakeTeamModule extends CakeModule
|
|||||||
{
|
{
|
||||||
|
|
||||||
private static final int HOLOGRAM_VIEW_SQUARED = 16;
|
private static final int HOLOGRAM_VIEW_SQUARED = 16;
|
||||||
private static final long CAKE_ROT_TIME = TimeUnit.MINUTES.toMillis(1);
|
private static final long CAKE_ROT_TIME = TimeUnit.MINUTES.toMillis(20);
|
||||||
private static final long CAKE_WARNING_TIME = TimeUnit.MINUTES.toMillis(5);
|
private static final long CAKE_WARNING_TIME = TimeUnit.MINUTES.toMillis(5);
|
||||||
private static final long TRAP_COOLDOWN = TimeUnit.SECONDS.toMillis(10);
|
private static final long TRAP_COOLDOWN = TimeUnit.SECONDS.toMillis(10);
|
||||||
private static final ItemStack[] STARTING_ITEMS =
|
private static final ItemStack[] STARTING_ITEMS =
|
||||||
|
Loading…
Reference in New Issue
Block a user