Actually use the override constraint in ticket requests. Closes #1802

This commit is contained in:
cpw 2015-04-19 11:57:39 -04:00
parent 178acfbb20
commit dcb2f2588c

View file

@ -664,7 +664,7 @@ public class ForgeChunkManager
throw new RuntimeException("Invalid ticket request");
}
int allowedCount = ticketConstraints.containsKey(modId) ? ticketConstraints.get(modId) : defaultMaxCount;
int allowedCount = getMaxTicketLengthFor(modId);
if (tickets.get(world).get(modId).size() >= allowedCount)
{