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:
@@ -1604,7 +1604,7 @@ public class MapleMap {
|
||||
}
|
||||
}, time);
|
||||
}
|
||||
|
||||
|
||||
public void addPlayer(final MapleCharacter chr) {
|
||||
chrWLock.lock();
|
||||
try {
|
||||
@@ -1849,6 +1849,16 @@ public class MapleMap {
|
||||
}
|
||||
return closest;
|
||||
}
|
||||
|
||||
public MaplePortal findMarketPortal() {
|
||||
for (MaplePortal portal : portals.values()) {
|
||||
String ptScript = portal.getScriptName();
|
||||
if(ptScript != null && ptScript.contains("market")) {
|
||||
return portal;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public Collection<MaplePortal> getPortals() {
|
||||
return Collections.unmodifiableCollection(portals.values());
|
||||
@@ -2769,7 +2779,7 @@ public class MapleMap {
|
||||
private boolean specialEquip() {//Maybe I shouldn't use fieldType :\
|
||||
return fieldType == 4 || fieldType == 19;
|
||||
}
|
||||
|
||||
|
||||
public void setCoconut(MapleCoconut nut) {
|
||||
this.coconut = nut;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user