Fix legacy deprecated BlockState not exposing correct generic type
Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
This commit is contained in:
1 parent
4b8a065a74
commit
25161c65aa
1 file changed
+1
-1
@@ -12,7 +12,7 @@ import java.util.Collection;
|
||||
* @param <T> Value type
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class BlockState<T> extends BasicWrapper<IBlockStateHandle> {
|
||||
public abstract class BlockState<T extends Comparable<?>> extends BasicWrapper<IBlockStateHandle> {
|
||||
/**
|
||||
* Name identifying this state
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user