Ignore case when checking Event name

This commit is contained in:
BuildTools 2019-03-17 22:28:46 -04:00
parent 911c47702a
commit f47e88e23b

View File

@ -3018,7 +3018,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
public Event getEvent(String name) {
for (Event e : events) {
if (e.getName().equals(name)){
if (e.getName().equalsIgnoreCase(name)){
return e;
} else if (e.getName().toLowerCase().startsWith(name.toLowerCase())) {
return e;