diff --git a/pom.xml b/pom.xml index 0402a56..ca0beb5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,12 +6,12 @@ me.plytki VirtualRealty - 1.2.1-SNAPSHOT + 1.2.2 jar VirtualRealty - This plugin allows players to have their own protected spaces. + A plot creation and management plugin for Minecraft 1.8 UTF-8 @@ -87,7 +87,7 @@ com.h2database h2 1.4.200 - provided + compile diff --git a/src/main/java/me/plytki/virtualrealty/VirtualRealty.java b/src/main/java/me/plytki/virtualrealty/VirtualRealty.java index fa49bce..f479875 100644 --- a/src/main/java/me/plytki/virtualrealty/VirtualRealty.java +++ b/src/main/java/me/plytki/virtualrealty/VirtualRealty.java @@ -23,7 +23,6 @@ public final class VirtualRealty extends JavaPlugin { - private static final String PLUGIN_VERSION = "V1.2.1_SNAPSHOT"; private static VirtualRealty instance; public static final String PREFIX = "§a§lVR §8§l» §7"; public static ArrayList tasks = new ArrayList<>(); @@ -40,7 +39,6 @@ public final class VirtualRealty extends JavaPlugin { public void onEnable() { // Plugin startup logic instance = this; - //this.getServer().getConsoleSender().sendMessage(""); setCompatibleVersions(); if (!checkCompatibleVersion(Bukkit.getBukkitVersion())) { closedDueToIncompatibleVersion = true; diff --git a/src/main/java/me/plytki/virtualrealty/commands/VirtualRealtyCommand.java b/src/main/java/me/plytki/virtualrealty/commands/VirtualRealtyCommand.java index 3a7e841..d696da1 100644 --- a/src/main/java/me/plytki/virtualrealty/commands/VirtualRealtyCommand.java +++ b/src/main/java/me/plytki/virtualrealty/commands/VirtualRealtyCommand.java @@ -523,6 +523,7 @@ public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command // text1.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{new TextComponent("§7§oClick to teleport to the cords!")})); // text1.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/tppos " + plot.getBottomLeftCorner().getBlockX() + " " + plot.getBottomLeftCorner().getBlockY() + " " + plot.getBottomLeftCorner().getBlockZ())); // BaseComponent text12 = new TextComponent(" §7Pos 1 §8| §7X §8| §7Y §8| §7Z §8| §8§l‣ §f"); +// p.spigot().sendMessage(text12, text1); p.sendMessage(" §7Pos 1 §8| §7X §8| §7Y §8| §7Z §8| §8§l‣ §f" + plot.getBottomLeftCorner().toString()); // BaseComponent text2 = new TextComponent(plot.getBottomLeftCorner().toString()); // text2.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{new TextComponent("§7§oClick to teleport to the cords!")}));