mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 01:49:30 +00:00
简化无意义代码
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user