Make Map field implementation non-specific to avoid NoSuchMethodError between Java versions

This commit is contained in:
Spencer Alderman 2015-03-05 18:09:32 -05:00
parent 83b7e9e15e
commit 33a728dca8

View File

@ -41,7 +41,7 @@ public class Quester {
boolean hasJournal = false;
public String questToTake;
public ConcurrentHashMap<Quest, Integer> currentQuests = new ConcurrentHashMap<Quest, Integer>() {
public Map<Quest, Integer> currentQuests = new ConcurrentHashMap<Quest, Integer>() {
private static final long serialVersionUID = 6361484975823846780L;