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:
Irmo van den Berge committed 2023-10-01 21:06:56 +02:00
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
*