Reworked Singapore/Malaysia + warp fix
Reworked many aspects of the Malaysia/Singapore region (added DB data, enabled Latanica & Scarga expedition, fixed maps). Fixed some issues related with player warping.
This commit is contained in:
@@ -1041,11 +1041,10 @@ public class Commands {
|
||||
return true;
|
||||
}
|
||||
if (player.getEventInstance() != null) {
|
||||
player.getEventInstance().removePlayer(player);
|
||||
player.getEventInstance().leftParty(player);
|
||||
}
|
||||
player.changeMap(target, target.getPortal(0));
|
||||
player.changeMap(target, target.getRandomPlayerSpawnpoint());
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
player.yellowMessage("Map ID " + sub[1] + " is invalid.");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user