Hit Reactor animation fix + deny spawn points

Fixed reactor sometimes not animating between state changes and
introduced mechanic to deny spawning mobs at spawn points.
This commit is contained in:
ronancpl
2017-04-17 15:44:12 -03:00
parent 6791a3d475
commit c17e4c93a3
16 changed files with 350 additions and 107 deletions

View File

@@ -315,7 +315,7 @@ public class Commands {
return false;
}
switch (sub[0]) {
case "help":
case "help":
case "commands":
player.yellowMessage("After you vote, talk to Rooney to get a leaf and redeem it for prizes!");
player.message("@dispose: Fixes your character if it is stuck.");
@@ -636,6 +636,14 @@ public class Commands {
}
}
break;
//debug only
case "map":
if(ServerConstants.USE_DEBUG) {
player.dropMessage("Current map position: (" + player.getPosition().getX() + ", " + player.getPosition().getY() + ").");
break;
}
default:
if (player.gmLevel() == 0) {
player.yellowMessage("Player Command " + heading + sub[0] + " does not exist, see @help for a list of commands.");