mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 10:17:39 +00:00
Added @Override annotations.
This commit is contained in:
parent
36e4b99ade
commit
11245014c8
@ -63,6 +63,7 @@ public abstract class BlockBag {
|
|||||||
* @throws BlockBagException
|
* @throws BlockBagException
|
||||||
* @deprecated Use {@link #fetchPlacedBlock(int,int)} instead
|
* @deprecated Use {@link #fetchPlacedBlock(int,int)} instead
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void fetchPlacedBlock(int id) throws BlockBagException {
|
public void fetchPlacedBlock(int id) throws BlockBagException {
|
||||||
fetchPlacedBlock(id, 0);
|
fetchPlacedBlock(id, 0);
|
||||||
}
|
}
|
||||||
|
@ -88,6 +88,7 @@ public class BukkitWorld extends LocalWorld {
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return world.getName();
|
return world.getName();
|
||||||
}
|
}
|
||||||
|
@ -60,6 +60,7 @@ public class Parser {
|
|||||||
return '\0';
|
return '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "NullToken";
|
return "NullToken";
|
||||||
}
|
}
|
||||||
|
@ -471,6 +471,7 @@ public class Polygonal2DRegion implements Region {
|
|||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
List<BlockVector2D> pts = getPoints();
|
List<BlockVector2D> pts = getPoints();
|
||||||
|
@ -33,6 +33,7 @@ public class DistanceWand extends BrushTool implements DoubleActionTraceTool {
|
|||||||
super("worldedit.wand");
|
super("worldedit.wand");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean canUse(LocalPlayer player) {
|
public boolean canUse(LocalPlayer player) {
|
||||||
return player.hasPermission("worldedit.wand");
|
return player.hasPermission("worldedit.wand");
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,7 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo
|
|||||||
this.secondary = secondary;
|
this.secondary = secondary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean canUse(LocalPlayer player) {
|
public boolean canUse(LocalPlayer player) {
|
||||||
return player.hasPermission("worldedit.tool.lrbuild");
|
return player.hasPermission("worldedit.tool.lrbuild");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user