mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-22 17:17:38 +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) {
|
||||
|
||||
LinkedList<String> effs = 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.getValue()));
|
||||
locs.add(Quests.getLocationInfo((Location) e.getKey()));
|
||||
effs.add(((Effect) e.getValue()).toString());
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user