mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-30 04:19:27 +00:00
1.0.9
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user