Purpose of this counter? #1616
Closed
raka-gunarto
started this conversation in
General
Replies: 3 comments
-
Oh yes you found a coding bug. I will fix it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It used to be to handle the case where the other side chunk loading is delayed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/iPortalTeam/ImmersivePortalsMod/blob/1.21/src/main/java/qouteall/imm_ptl/core/portal/nether_portal/BreakablePortalEntity.java#L247-L256
I'm jut having a read of the internals to get a better understanding of how the mod works and using it in my own mod development. I came across this odd code here. What is the purpose of this counter? This always returns true which removes it from the tasklist on the first run effectively making it a one-shot. Should this be <= instead? And why 30 times?
Beta Was this translation helpful? Give feedback.
All reactions