mirror of
https://github.com/PikaMug/Quests.git
synced 2025-03-11 22:29:04 +01:00
Fix events not being editable after creation
This commit is contained in:
parent
9917f81c1c
commit
d60ded0302
@ -253,13 +253,13 @@ public class EventFactory implements ConversationAbandonedListener, ColorUtil {
|
|||||||
|
|
||||||
if (event.effects != null && event.effects.isEmpty() == false) {
|
if (event.effects != null && event.effects.isEmpty() == false) {
|
||||||
|
|
||||||
LinkedList<String> effs = new LinkedList<String>();
|
|
||||||
LinkedList<String> locs = new LinkedList<String>();
|
LinkedList<String> locs = new LinkedList<String>();
|
||||||
|
LinkedList<String> effs = new LinkedList<String>();
|
||||||
|
|
||||||
for (Entry<?, ?> e : event.effects.entrySet()) {
|
for (Entry<Location, Effect> e : event.effects.entrySet()) {
|
||||||
|
|
||||||
effs.add(((Effect) e.getKey()).toString());
|
locs.add(Quests.getLocationInfo((Location) e.getKey()));
|
||||||
locs.add(Quests.getLocationInfo((Location) e.getValue()));
|
effs.add(((Effect) e.getValue()).toString());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user