summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-11-18 20:18:30 -0600
committerEvilSeph <evilseph@gmail.com>2012-11-18 21:27:48 -0500
commit8f4cde24bd2fee0c0b9617a7867422f5c901596b (patch)
treea0e6d5a0a7e8b48b5dbeaacbcd935fa385a545f7 /pom.xml
parentcc78e173124747d3cdb5c588fafa1df8f9b81f47 (diff)
downloadcraftbukkit-8f4cde24bd2fee0c0b9617a7867422f5c901596b.tar
craftbukkit-8f4cde24bd2fee0c0b9617a7867422f5c901596b.tar.gz
craftbukkit-8f4cde24bd2fee0c0b9617a7867422f5c901596b.tar.lz
craftbukkit-8f4cde24bd2fee0c0b9617a7867422f5c901596b.tar.xz
craftbukkit-8f4cde24bd2fee0c0b9617a7867422f5c901596b.zip
Don't add player to world if join event did it already.
On join we unconditionally add the player to the world they logged out in. If a plugin teleports a player during PlayerJoinEvent in a way that adds them to a world (cross-world teleport) we end up with one player in two places. To avoid this we check to see if the player has changed worlds or is already added to the world we have we skip adding them again.
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions