mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 10:05:59 +00:00
why didnt i do this earlier
This commit is contained in:
parent
d40c85f39c
commit
82cd7f2d05
@ -127,6 +127,11 @@ public class Command_ride extends FreedomCommand
|
|||||||
msg("Player is in another world. (" + player.getWorld().getName() + ")");
|
msg("Player is in another world. (" + player.getWorld().getName() + ")");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Location loc = player.getLocation();
|
||||||
|
playerSender.teleport(new Location(loc.getWorld(),loc.getX(), loc.getY(), loc.getZ()));
|
||||||
|
}
|
||||||
|
|
||||||
player.addPassenger(playerSender);
|
player.addPassenger(playerSender);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user