Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
dries007 committed Sep 22, 2014
1 parent 4ad6985 commit 422bece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/doubledoordev/backend/server/Server.java
Expand Up @@ -637,7 +637,7 @@ public void startServer() throws Exception
saveProperties();
User user = Settings.getUserByName(getOwner());
if (user == null) throw new Exception("No owner set??");
if (getRamMax() > user.getMaxRamLeft()) throw new Exception("Out of usable RAM. Lower your max RAM.");
if (user.getMaxRamLeft() != -1 && getRamMax() > user.getMaxRamLeft()) throw new Exception("Out of usable RAM. Lower your max RAM.");

new Thread(new Runnable()
{
Expand Down

0 comments on commit 422bece

Please sign in to comment.