Display information about allowed vehicles when executing the info command.

This commit is contained in:
Tobias Ottenweller 2014-02-05 20:36:23 +01:00
parent 6924e36249
commit c7a423ff20

View File

@ -106,6 +106,10 @@ public class CommandInfo extends BaseCommand
sendMessage(ChatColor.DARK_AQUA + "NOTE: this gate has no exit");
if (gate.getAllowsVehicles())
sendMessage(ChatColor.DARK_AQUA + "You can ride through this gate.");
if (this.sender instanceof Player) {
GateBlockChangeSender.temporaryHighlightGateFrame((Player)this.sender, this.gate);
}