Disable Timer on World Change#75
Disable Timer on World Change#75nivcoo wants to merge 7 commits intoSpazzinq:betafrom nivcoo:patch-3
Conversation
This reverts commit c72a428.
|
This commit didn't change anything and added a few lines of code, so I just reverted it. |
|
He add world change event.... |
|
It's my mainly change in this pull request |
|
Player world in the teleport event is the previous world so we have an issue with that |
|
And i've add check to detect if the teleport event is a world change or not to remove the useless check |
The teleport event includes if it's a world change. How does it add any functionality/fix anything? |
|
Add debug on p.getWorld() on teleport event and you can look the issue :p |
|
it sends the check to the old world and therefore activates the fly in a world where the fly is deactivated |
This reverts commit c2b0372.
|
Okay thx i will edit the file to add a function to do that more properly |
|
Hello, some news ? thx |
Hi of course you can test, the concern was that the time continued when we were in a world without fly and being on the ground.
It is therefore necessary when people can not fly deactivate the fly and pause the timer.