package emu.grasscutter.scripts.data; public class SceneTrigger { public String name; public int config_id; public int event; public String source; public String condition; public String action; @Override public boolean equals(Object obj) { if(obj instanceof SceneTrigger sceneTrigger){ return this.name.equals(sceneTrigger.name); } return super.equals(obj); } @Override public int hashCode() { return name.hashCode(); } }