mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
Added @Override annotations.
This commit is contained in:
parent
36e4b99ade
commit
11245014c8
@ -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);
|
||||
}
|
||||
|
@ -88,6 +88,7 @@ public class BukkitWorld extends LocalWorld {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String getName() {
|
||||
return world.getName();
|
||||
}
|
||||
|
@ -60,6 +60,7 @@ public class Parser {
|
||||
return '\0';
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NullToken";
|
||||
}
|
||||
|
@ -471,6 +471,7 @@ public class Polygonal2DRegion implements Region {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
List<BlockVector2D> pts = getPoints();
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user