Skip to content

Event Listener Bug Scrub#181

Merged
dumptruckman merged 20 commits into
masterfrom
event_tweaks
Oct 6, 2020
Merged

Event Listener Bug Scrub#181
dumptruckman merged 20 commits into
masterfrom
event_tweaks

Conversation

@nicegamer7

@nicegamer7 nicegamer7 commented Oct 2, 2020

Copy link
Copy Markdown
Member

This PR includes a rewrite of the event record with a purpose built class. This fixes #157. I also added a config option to disable the message sent when there is no world to teleport the player to, this closes #145.

Additionally, some changes were made to the event listeners to fix #104, #110, and #158. The problem was that MV-NetherPortals was setting the destination of portal events to null, causing an error.

Also additionally, some changes were made to the event listeners to fix #144 and #164. The problem here was that MV-NetherPortals was using the block that triggered the event to detect which type of portal the player entered instead of using the info given by the event.

Finally, I made it so that when a world is linked to itself, portals are disabled. This fixes #165. I also added a config option to disable the message sent when entering a disabled portal.

Now, I want to apologize for this huge PR, I'll try working on breaking my PRs up in the future.
P.S. This PR is the same as #163, it's just complete (I won't be making any more changes, I promise)!

@dumptruckman dumptruckman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK!

@dumptruckman dumptruckman merged commit 167dc92 into master Oct 6, 2020
@dumptruckman dumptruckman deleted the event_tweaks branch October 6, 2020 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment