Remove "Maple" prefix from MaplePacketCreator name
This commit is contained in:
@@ -36,11 +36,11 @@ function stopEntry() {
|
||||
}
|
||||
|
||||
function takeoff() {
|
||||
const MaplePacketCreator = Java.type('tools.MaplePacketCreator');
|
||||
const PacketCreator = Java.type('tools.PacketCreator');
|
||||
|
||||
//sound src: https://www.soundjay.com/transportation/metro-door-close-01.mp3
|
||||
KC_docked.broadcastMessage(MaplePacketCreator.playSound("subway/whistle"));
|
||||
NLC_docked.broadcastMessage(MaplePacketCreator.playSound("subway/whistle"));
|
||||
KC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
||||
NLC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
||||
|
||||
em.setProperty("docked","false");
|
||||
KC_Waiting.warpEveryone(Subway_to_NLC.getId());
|
||||
@@ -53,9 +53,9 @@ function arrived() {
|
||||
Subway_to_NLC.warpEveryone(NLC_docked.getId(), 0);
|
||||
scheduleNew();
|
||||
|
||||
const MaplePacketCreator = Java.type('tools.MaplePacketCreator');
|
||||
KC_docked.broadcastMessage(MaplePacketCreator.playSound("subway/whistle"));
|
||||
NLC_docked.broadcastMessage(MaplePacketCreator.playSound("subway/whistle"));
|
||||
const PacketCreator = Java.type('tools.PacketCreator');
|
||||
KC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
||||
NLC_docked.broadcastMessage(PacketCreator.playSound("subway/whistle"));
|
||||
}
|
||||
|
||||
function cancelSchedule() {}
|
||||
|
||||
Reference in New Issue
Block a user