mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-20 15:24:49 +00:00
Support LuaTable arguments in @LuaFunction
This commit is contained in:
@@ -61,4 +61,14 @@ public class ObjectLuaTable implements LuaTable<Object, Object> {
|
||||
public Set<Entry<Object, Object>> entrySet() {
|
||||
return map.entrySet();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
return this == o || o instanceof Map<?, ?> otherMap && map.equals(otherMap);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return map.hashCode();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user