mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
Actually use the override constraint in ticket requests. Closes #1802
This commit is contained in:
1 parent
178acfbb20
commit
dcb2f2588c
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user