9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 02:19:23 +00:00

fix number argument

This commit is contained in:
XiaoMoMi
2025-03-23 23:32:29 +08:00
parent 1b2936d53e
commit 0c4a0a4e3d
8 changed files with 50 additions and 12 deletions

View File

@@ -28,12 +28,10 @@ public abstract class BlockBehavior {
return (boolean) superMethod.call();
}
public void onBrokenAfterFall(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
superMethod.call();
public void onBrokenAfterFall(Object thisBlock, Object[] args) throws Exception {
}
public void onLand(Object thisBlock, Object[] args, Callable<Object> superMethod) throws Exception {
superMethod.call();
public void onLand(Object thisBlock, Object[] args) throws Exception {
}
public boolean isValidBoneMealTarget(Object thisBlock, Object[] args) throws Exception {