geforkt von Mirrors/FastAsyncWorldEdit
Fixed some warnings.
Dieser Commit ist enthalten in:
Ursprung
65c3614e7b
Commit
9b37fb98ac
@ -6,5 +6,5 @@ package com.sk89q.worldedit;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class MaxBrushRadiusException extends MaxRadiusException {
|
public class MaxBrushRadiusException extends MaxRadiusException {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
}
|
}
|
||||||
|
@ -74,8 +74,6 @@ public class BrushCommands {
|
|||||||
public void sphereBrush(CommandContext args, LocalSession session,
|
public void sphereBrush(CommandContext args, LocalSession session,
|
||||||
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
double radius = args.argsLength() > 1 ? args.getDouble(1) : 2;
|
double radius = args.argsLength() > 1 ? args.getDouble(1) : 2;
|
||||||
we.checkMaxBrushRadius(radius);
|
we.checkMaxBrushRadius(radius);
|
||||||
|
|
||||||
@ -109,8 +107,6 @@ public class BrushCommands {
|
|||||||
public void cylinderBrush(CommandContext args, LocalSession session,
|
public void cylinderBrush(CommandContext args, LocalSession session,
|
||||||
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
double radius = args.argsLength() > 1 ? args.getDouble(1) : 2;
|
double radius = args.argsLength() > 1 ? args.getDouble(1) : 2;
|
||||||
we.checkMaxBrushRadius(radius);
|
we.checkMaxBrushRadius(radius);
|
||||||
|
|
||||||
@ -147,8 +143,6 @@ public class BrushCommands {
|
|||||||
public void clipboardBrush(CommandContext args, LocalSession session,
|
public void clipboardBrush(CommandContext args, LocalSession session,
|
||||||
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
CuboidClipboard clipboard = session.getClipboard();
|
CuboidClipboard clipboard = session.getClipboard();
|
||||||
|
|
||||||
if (clipboard == null) {
|
if (clipboard == null) {
|
||||||
@ -183,8 +177,6 @@ public class BrushCommands {
|
|||||||
public void smoothBrush(CommandContext args, LocalSession session,
|
public void smoothBrush(CommandContext args, LocalSession session,
|
||||||
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
double radius = args.argsLength() > 0 ? args.getDouble(0) : 2;
|
double radius = args.argsLength() > 0 ? args.getDouble(0) : 2;
|
||||||
we.checkMaxBrushRadius(radius);
|
we.checkMaxBrushRadius(radius);
|
||||||
|
|
||||||
@ -209,8 +201,6 @@ public class BrushCommands {
|
|||||||
public void extinguishBrush(CommandContext args, LocalSession session,
|
public void extinguishBrush(CommandContext args, LocalSession session,
|
||||||
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
double radius = args.argsLength() > 1 ? args.getDouble(1) : 5;
|
double radius = args.argsLength() > 1 ? args.getDouble(1) : 5;
|
||||||
we.checkMaxBrushRadius(radius);
|
we.checkMaxBrushRadius(radius);
|
||||||
|
|
||||||
@ -241,8 +231,6 @@ public class BrushCommands {
|
|||||||
public void gravityBrush(CommandContext args, LocalSession session,
|
public void gravityBrush(CommandContext args, LocalSession session,
|
||||||
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
LocalPlayer player, EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
double radius = args.argsLength() > 0 ? args.getDouble(0) : 5;
|
double radius = args.argsLength() > 0 ? args.getDouble(0) : 5;
|
||||||
we.checkMaxBrushRadius(radius);
|
we.checkMaxBrushRadius(radius);
|
||||||
|
|
||||||
|
@ -149,8 +149,6 @@ public class ToolUtilCommands {
|
|||||||
public void size(CommandContext args, LocalSession session, LocalPlayer player,
|
public void size(CommandContext args, LocalSession session, LocalPlayer player,
|
||||||
EditSession editSession) throws WorldEditException {
|
EditSession editSession) throws WorldEditException {
|
||||||
|
|
||||||
LocalConfiguration config = we.getConfiguration();
|
|
||||||
|
|
||||||
int radius = args.getInteger(0);
|
int radius = args.getInteger(0);
|
||||||
we.checkMaxBrushRadius(radius);
|
we.checkMaxBrushRadius(radius);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren