Commit b24f70d2 by Tuukka Kivilahti

fix for astral-lan

1 parent a680baac
......@@ -242,7 +242,7 @@ public class PlaceBean implements PlaceBeanLocal {
boolean canReserve = (price.compareTo(balance) <= 0);
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);
return false;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!