Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

[REQUEST] Post ChangedDimensionEvent earlier, and make it cancellable #520

Open
yuuka-miya opened this issue Sep 20, 2014 · 2 comments
Open

Comments

@yuuka-miya
Copy link
Contributor

This is to allow mods which for one reason or another want to prevent players from travelling to other dimensions.

An example would be a mod which wants to keep a particular player, or group of players, in a particular dimension.

I would make a PR, but if this is done as part of the 1.8 update, all the better.

@Tarig0
Copy link

Tarig0 commented Sep 30, 2014

I think this should be a new event that gets thrown earlier, just to keep things in the correct order.

for example if I handle inventory per dimension what happens if you cancel the event after the inventory is swapped.

@lumien231
Copy link
Contributor

Exactly! I had that problem with http://minecraft.curseforge.com/mc-mods/224196-dimension-inventorys . Since the event fires so late i had to hack around it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants