Display information about allowed vehicles when executing the info command.
This commit is contained in:
parent
6924e36249
commit
c7a423ff20
@ -106,6 +106,10 @@ public class CommandInfo extends BaseCommand
|
|||||||
sendMessage(ChatColor.DARK_AQUA + "NOTE: this gate has no exit");
|
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) {
|
if (this.sender instanceof Player) {
|
||||||
GateBlockChangeSender.temporaryHighlightGateFrame((Player)this.sender, this.gate);
|
GateBlockChangeSender.temporaryHighlightGateFrame((Player)this.sender, this.gate);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user