Commit 9faddab0 by Tuomas Riihimäki

Merge branch 'oldLanFix' into 'master'

Old lan fix

korjaa astral-lanien bugin, toivottavasti

See merge request !161
2 parents 1a36f487 b24f70d2
...@@ -242,7 +242,7 @@ public class PlaceBean implements PlaceBeanLocal { ...@@ -242,7 +242,7 @@ public class PlaceBean implements PlaceBeanLocal {
boolean canReserve = (price.compareTo(balance) <= 0); boolean canReserve = (price.compareTo(balance) <= 0);
logger.debug("Balance {}, price {}", balance, price); logger.debug("Balance {}, price {}", balance, price);
if (!canReserve) if (!canReserve && !permbean.hasPermission(MapPermission.MANAGE_OTHERS))
{ {
logger.debug("Did not have enought credits to reserve place! required {} , got {}", price, balance); logger.debug("Did not have enought credits to reserve place! required {} , got {}", price, balance);
return false; return false;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!