that should solve it all

This commit is contained in:
Super_ 2019-12-13 23:33:16 -05:00
parent d767e7ebd6
commit 6b3d170c6d
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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()