mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 10:05:59 +00:00
that should solve it all
This commit is contained in:
parent
d767e7ebd6
commit
6b3d170c6d
@ -124,7 +124,8 @@ public class Command_ride extends FreedomCommand
|
||||
|
||||
if (player.getWorld() != playerSender.getWorld())
|
||||
{
|
||||
playerSender.teleport(new Location(player.getWorld(), 0, 256, 0));
|
||||
msg("Player is in another world. (" + playerSender.getWorld().getName() + ")");
|
||||
return true;
|
||||
}
|
||||
|
||||
player.addPassenger(playerSender);
|
||||
|
@ -58,7 +58,7 @@ public class VPlayer implements ConfigLoadable, ConfigSavable, Validatable
|
||||
enabled = cs.getBoolean("enabled", false);
|
||||
tag = cs.getString("tag", null);
|
||||
clearChatOptOut = cs.getBoolean("clearChatOptOut", false);
|
||||
rideMode = cs.getString("rideToggle", rideMode);
|
||||
rideMode = cs.getString("rideMode", rideMode);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -71,7 +71,7 @@ public class VPlayer implements ConfigLoadable, ConfigSavable, Validatable
|
||||
cs.set("tag", tag);
|
||||
cs.set("ips", Lists.newArrayList(ips));
|
||||
cs.set("clearChatOptOut", clearChatOptOut);
|
||||
cs.set("rideToggle", rideMode);
|
||||
cs.set("rideMode", rideMode);
|
||||
}
|
||||
|
||||
public List<String> getIps()
|
||||
|
Loading…
Reference in New Issue
Block a user