Don't compare distances on teleport for different worlds
This commit is contained in:
parent
c0d36e033b
commit
08dfbe3282
@ -668,7 +668,7 @@ public class DisguiseListener implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DisguiseAPI.isSelfDisguised(player)) {
|
if (DisguiseAPI.isSelfDisguised(player) && to.getWorld() == from.getWorld()) {
|
||||||
Disguise disguise = DisguiseAPI.getDisguise(player, player);
|
Disguise disguise = DisguiseAPI.getDisguise(player, player);
|
||||||
|
|
||||||
// If further than 64 blocks, resend the self disguise
|
// If further than 64 blocks, resend the self disguise
|
||||||
|
Loading…
Reference in New Issue
Block a user