reduced respawn time in OITQ

removed respawn msg for short respawn times
This commit is contained in:
Mini-Chiss 2015-08-03 16:18:59 +02:00
parent ccdb859f11
commit e10d26dae1
3 changed files with 7 additions and 4 deletions

View File

@ -6,7 +6,7 @@ public enum RewardType
GameLoot( 0.000001, 0.00001, 0.0001, 3),
OldChest( 0, 0.05, 0.4, 5),
AncientChest( 0, 1, 4, 25),
MythicalChest( 0.35, 3, 12, 75);
MythicalChest( 0.4, 3, 12, 75);
private double _mythicalChance;
private double _legendaryChance;

View File

@ -80,7 +80,7 @@ public class Quiver extends SoloGame
this.BlockBreakAllow.add(102);
this.BlockBreakAllow.add(20);
this.DeathSpectateSecs = 2;
this.DeathSpectateSecs = 1;
_scoreObj = Scoreboard.GetScoreboard().registerNewObjective("Kills", "dummy");
_scoreObj.setDisplaySlot(DisplaySlot.BELOW_NAME);

View File

@ -727,8 +727,11 @@ public class GameFlagManager implements Listener
return;
}
UtilPlayer.message(player, C.cWhite + C.Bold + "You will respawn in " + time + " seconds...");
UtilTextMiddle.display(null, "Respawning in " + time + " seconds...", 5, 40, 5, player);
if (time > 3)
{
UtilPlayer.message(player, C.cWhite + C.Bold + "You will respawn in " + time + " seconds...");
UtilTextMiddle.display(null, "Respawning in " + time + " seconds...", 5, 40, 5, player);
}
Manager.getPlugin().getServer().getScheduler().scheduleSyncDelayedTask(Manager.getPlugin(), new Runnable()
{