Rename and clean up MapleMapEffect
This commit is contained in:
@@ -25,12 +25,12 @@ import client.Client;
|
||||
import net.packet.Packet;
|
||||
import tools.PacketCreator;
|
||||
|
||||
public class MapleMapEffect {
|
||||
public class MapEffect {
|
||||
private final String msg;
|
||||
private final int itemId;
|
||||
private final boolean active = true;
|
||||
|
||||
public MapleMapEffect(String msg, int itemId) {
|
||||
public MapEffect(String msg, int itemId) {
|
||||
this.msg = msg;
|
||||
this.itemId = itemId;
|
||||
}
|
||||
@@ -113,7 +113,7 @@ public class MapleMap {
|
||||
private EventInstanceManager event = null;
|
||||
private String mapName;
|
||||
private String streetName;
|
||||
private MapleMapEffect mapEffect = null;
|
||||
private MapEffect mapEffect = null;
|
||||
private boolean everlast = false;
|
||||
private int forcedReturnMap = 999999999;
|
||||
private int timeLimit;
|
||||
@@ -2273,7 +2273,7 @@ public class MapleMap {
|
||||
if (mapEffect != null) {
|
||||
return;
|
||||
}
|
||||
mapEffect = new MapleMapEffect(msg, itemId);
|
||||
mapEffect = new MapEffect(msg, itemId);
|
||||
broadcastMessage(mapEffect.makeStartData());
|
||||
|
||||
Runnable r = () -> {
|
||||
|
||||
Reference in New Issue
Block a user