1
0
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:
Jonathan Coates
2025-07-14 08:11:35 +01:00
parent 018ce7c8a5
commit 00475b9bb0
3 changed files with 52 additions and 7 deletions

View File

@@ -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();
}
}