potatolain / TravelPortals

A portal system for Bukkit for Minecraft
BSD 2-Clause "Simplified" License
3 stars 2 forks source link

Teleport players when entering portal #33

Closed Flying--Dutchman closed 4 years ago

Flying--Dutchman commented 4 years ago

Should we teleport the player upon entering the portal instead when the player tries to leave it?

Would give a more "portal" like feeling.

Maybe also usefull for #32

Phoenix616 commented 4 years ago

Pretty sure its already made to work like that, at least when the move event listener mode is used. (When the polling is used it just depends on the player position and whether or not they are in the portal at the poll time)

EDIT: Actually I think I see where the issue with the listener is: It uses the player's position to get the portal instead of the position that they move into.

Flying--Dutchman commented 4 years ago

Yep, seems so.