From c1bc8b0e35be405614ab1f71145249351343e0aa Mon Sep 17 00:00:00 2001 From: Pilow Date: Thu, 30 May 2024 12:02:10 +0700 Subject: [PATCH] Fix getSide function --- src/main/java/com/leekwars/generator/FightFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/leekwars/generator/FightFunctions.java b/src/main/java/com/leekwars/generator/FightFunctions.java index 3ea9a41..d1ec81b 100644 --- a/src/main/java/com/leekwars/generator/FightFunctions.java +++ b/src/main/java/com/leekwars/generator/FightFunctions.java @@ -203,7 +203,7 @@ public class FightFunctions { new CallableVersion(Type.INT_OR_NULL, new Type[] { Type.INT_OR_NULL }), new CallableVersion(Type.INT), }); - method("getSide", "Fight", 5, true, new CallableVersion[] { + method("getSide", "Entity", 5, true, new CallableVersion[] { new CallableVersion(Type.INT_OR_NULL, new Type[] { Type.INT_OR_NULL }), new CallableVersion(Type.INT), });