Rename and clean up MapleCharacter
This commit is contained in:
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package scripting.map;
|
||||
|
||||
import client.MapleCharacter;
|
||||
import client.Character;
|
||||
import client.MapleClient;
|
||||
import scripting.AbstractScriptManager;
|
||||
import tools.FilePrinter;
|
||||
@@ -46,7 +46,7 @@ public class MapScriptManager extends AbstractScriptManager {
|
||||
|
||||
public boolean runMapScript(MapleClient c, String mapScriptPath, boolean firstUser) {
|
||||
if (firstUser) {
|
||||
MapleCharacter chr = c.getPlayer();
|
||||
Character chr = c.getPlayer();
|
||||
int mapid = chr.getMapId();
|
||||
if (chr.hasEntered(mapScriptPath, mapid)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user