mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 08:51:33 +01:00
Merge branch 'master' into dev-bank
This commit is contained in:
commit
1a6a4b86e8
@ -240,7 +240,9 @@ public class Move implements Listener {
|
||||
final Player player = e.getPlayer();
|
||||
final WorldManager worldManager = skyblock.getWorldManager();
|
||||
if(e.getTo() != null && e.getTo().getWorld() != null){
|
||||
e.getTo().getWorld().loadChunk(e.getTo().getChunk());
|
||||
if(!e.isAsynchronous()){
|
||||
e.getTo().getWorld().loadChunk(e.getTo().getChunk()); // Is that needed?
|
||||
}
|
||||
if(worldManager.isIslandWorld(e.getTo().getWorld())
|
||||
&& (!e.getTo().getWorld().equals(e.getFrom().getWorld()) || e.getTo().distance(e.getFrom()) > 1.0d)){ // We should not care of self block tp
|
||||
if(skyblock.getIslandManager().getIslandAtLocation(e.getTo()) == null){
|
||||
|
Loading…
Reference in New Issue
Block a user