mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-19 02:29:55 +08:00
fix(AbilityModifier.java): Always parse param[1-3] as DynamicFloats
This commit is contained in:
@@ -15,9 +15,13 @@ public class ActionExecuteGadgetLua extends AbilityActionHandler {
|
||||
// Investigate if we need to use target
|
||||
|
||||
if (owner.getEntityController() != null) {
|
||||
var param1 = action.param1.getInt(ability);
|
||||
var param2 = action.param2.getInt(ability);
|
||||
var param3 = action.param3.getInt(ability);
|
||||
|
||||
owner
|
||||
.getEntityController()
|
||||
.onClientExecuteRequest(owner, action.param1, action.param2, action.param3);
|
||||
.onClientExecuteRequest(owner, param1, param2, param3);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user