diff --git a/src/main/java/com/sk89q/worldedit/bags/BlockBag.java b/src/main/java/com/sk89q/worldedit/bags/BlockBag.java index 7506b92f0..a05d0e33d 100644 --- a/src/main/java/com/sk89q/worldedit/bags/BlockBag.java +++ b/src/main/java/com/sk89q/worldedit/bags/BlockBag.java @@ -63,6 +63,7 @@ public abstract class BlockBag { * @throws BlockBagException * @deprecated Use {@link #fetchPlacedBlock(int,int)} instead */ + @Deprecated public void fetchPlacedBlock(int id) throws BlockBagException { fetchPlacedBlock(id, 0); } diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 7f3a37469..40af47b6b 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -88,6 +88,7 @@ public class BukkitWorld extends LocalWorld { * * @return */ + @Override public String getName() { return world.getName(); } diff --git a/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java b/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java index d76765352..aa698c25e 100644 --- a/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java +++ b/src/main/java/com/sk89q/worldedit/expression/parser/Parser.java @@ -60,6 +60,7 @@ public class Parser { return '\0'; } + @Override public String toString() { return "NullToken"; } diff --git a/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java b/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java index 9056480b5..0d8bd30c7 100644 --- a/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java +++ b/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java @@ -471,6 +471,7 @@ public class Polygonal2DRegion implements Region { * * @return string */ + @Override public String toString() { StringBuilder sb = new StringBuilder(); List pts = getPoints(); diff --git a/src/main/java/com/sk89q/worldedit/tools/DistanceWand.java b/src/main/java/com/sk89q/worldedit/tools/DistanceWand.java index 0ca554fc5..6d98461a7 100644 --- a/src/main/java/com/sk89q/worldedit/tools/DistanceWand.java +++ b/src/main/java/com/sk89q/worldedit/tools/DistanceWand.java @@ -33,6 +33,7 @@ public class DistanceWand extends BrushTool implements DoubleActionTraceTool { super("worldedit.wand"); } + @Override public boolean canUse(LocalPlayer player) { return player.hasPermission("worldedit.wand"); } diff --git a/src/main/java/com/sk89q/worldedit/tools/LongRangeBuildTool.java b/src/main/java/com/sk89q/worldedit/tools/LongRangeBuildTool.java index 4095bdce3..784d19bd6 100644 --- a/src/main/java/com/sk89q/worldedit/tools/LongRangeBuildTool.java +++ b/src/main/java/com/sk89q/worldedit/tools/LongRangeBuildTool.java @@ -39,6 +39,7 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo this.secondary = secondary; } + @Override public boolean canUse(LocalPlayer player) { return player.hasPermission("worldedit.tool.lrbuild"); }