mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-30 12:34:03 +00:00
why didnt i do this earlier
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user