diff --git a/LobbySystem/src/de/steamwar/lobby/command/PortalCommand.java b/LobbySystem/src/de/steamwar/lobby/command/PortalCommand.java index e151120d..637b99e3 100644 --- a/LobbySystem/src/de/steamwar/lobby/command/PortalCommand.java +++ b/LobbySystem/src/de/steamwar/lobby/command/PortalCommand.java @@ -85,7 +85,7 @@ public class PortalCommand extends SWCommand { } @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; portal.setDepth(depth); }