diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-11-17 10:19:41 -0600 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-11-17 15:00:14 -0600 |
commit | 2d832bf14886a751cc535ec4a7d247b73e685d41 (patch) | |
tree | 96289c42afdfa4b7c135a4c2613857bee8504d20 /src/main/java/net/minecraft/server/TileEntitySign.java | |
parent | bd0868ae1e34d4d829dc80984a3b640048ac7a5f (diff) | |
download | craftbukkit-2d832bf14886a751cc535ec4a7d247b73e685d41.tar craftbukkit-2d832bf14886a751cc535ec4a7d247b73e685d41.tar.gz craftbukkit-2d832bf14886a751cc535ec4a7d247b73e685d41.tar.lz craftbukkit-2d832bf14886a751cc535ec4a7d247b73e685d41.tar.xz craftbukkit-2d832bf14886a751cc535ec4a7d247b73e685d41.zip |
Don't kick player when they travel too far. Fixes BUKKIT-2968
If a player travels past 32,000,000 blocks on the X or Z coordinates they
will be kicked for having an illegal position. On kick their player data
is saved which includes their (illegal) position. This means on join they
are immediately kicked again for the same reason and are stuck. Instead of
kicking at all in this case just teleport the player back to their previous
position just like the moved wrongly check does.
Diffstat (limited to 'src/main/java/net/minecraft/server/TileEntitySign.java')
0 files changed, 0 insertions, 0 deletions