9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 01:49:30 +00:00

简化无意义代码

This commit is contained in:
jhqwqmc
2025-09-12 20:36:30 +08:00
parent d6b2241325
commit df91e5ee8e

View File

@@ -20,7 +20,7 @@ public interface EntityBlockBehavior {
}
@SuppressWarnings("unchecked")
static <E extends BlockEntity, A extends BlockEntity> BlockEntityTicker<A> createTickerHelper(BlockEntityTicker<? super E> ticker) {
return (BlockEntityTicker<A>) ticker;
static <E extends BlockEntity> BlockEntityTicker<E> createTickerHelper(BlockEntityTicker<? super E> ticker) {
return (BlockEntityTicker<E>) ticker;
}
}