9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 04:19:27 +00:00
This commit is contained in:
XiaoMoMi
2025-06-28 01:04:15 +08:00
parent 4780c6628d
commit 72108295e1

View File

@@ -65,7 +65,7 @@ public final class BlockStateGenerator {
public static final GetDropsInterceptor INSTANCE = new GetDropsInterceptor();
@RuntimeType
public Object intercept(@This Object thisObj, @AllArguments Object[] args) throws Throwable {
public Object intercept(@This Object thisObj, @AllArguments Object[] args) {
ImmutableBlockState state = ((CustomBlockStateHolder) thisObj).customBlockState();
if (state == null) return List.of();
Object builder = args[0];