Fix ticking chunk tickets from forge's chunk manager not causing chunks to fully tick (#8775)

This commit is contained in:
Sara Freimer authored and GitHub committed 2022-06-27 20:58:57 -07:00
1 parent fd00822015
commit 2070b77fd4
4 files changed
+40 -31

No files matched your search

@@ -152,16 +152,9 @@ public class ForgeChunkManager
boolean ticking)
{
if (add)
{
if (ticking)
level.getChunkSource().registerTickingTicket(type, pos, 2, owner);
else
level.getChunkSource().addRegionTicket(type, pos, 2, owner);
}
else if (ticking)
level.getChunkSource().releaseTickingTicket(type, pos, 2, owner);
level.getChunkSource().addRegionTicket(type, pos, 2, owner, ticking);
else
level.getChunkSource().removeRegionTicket(type, pos, 2, owner);
level.getChunkSource().removeRegionTicket(type, pos, 2, owner, ticking);
}
/**