geforkt von Mirrors/FastAsyncWorldEdit
Added @Override annotations.
Dieser Commit ist enthalten in:
Ursprung
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");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren