updated portal command

This commit is contained in:
sekwah41 2013-12-16 22:45:11 +00:00
parent 3617c3394c
commit 4bd4d1bb0f
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter {
player.sendMessage("§atriggerBlock: §e" + triggerBlock);
}
else{
player.sendMessage("§ctriggerBlock: §eN/A");
ConfigAccessor Config = new ConfigAccessor(plugin, "Config.yml");
player.sendMessage("§ctriggerBlock: §edefault(" + Config.getConfig().getString("DefaultPortalTriggerBlock") + ")");
}
World world = org.bukkit.Bukkit.getWorld(player.getMetadata("Pos1World").get(0).asString());