This commit is contained in:
@ -85,7 +85,7 @@ public class PortalCommand extends SWCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Register({"depth"})
|
@Register({"depth"})
|
||||||
public void portalDepth(Player player, Portal portal, @Max(intValue = 10) double depth) {
|
public void portalDepth(Player player, Portal portal, @Max(doubleValue = 10.0d) double depth) {
|
||||||
if (noPermissions(player)) return;
|
if (noPermissions(player)) return;
|
||||||
portal.setDepth(depth);
|
portal.setDepth(depth);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user