Removed duplicated method and implemented missing ones

This commit is contained in:
MattBDev
2019-09-03 12:17:21 -04:00
parent c03015adc8
commit ae2d765533
2 changed files with 13 additions and 12 deletions

View File

@ -174,17 +174,6 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
*/
BaseItemStack adapt(ItemStack itemStack);
/**
* Retrieve the internal ID for a given state, if possible.
*
* @param state The block state
* @return the internal ID of the state
*/
default OptionalInt getInternalBlockStateId(BlockState state) {
return OptionalInt.empty();
}
boolean isChunkInUse(Chunk chunk);
default BlockMaterial getMaterial(BlockType blockType) {
@ -213,6 +202,7 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
* @param state The block state
* @return the internal ID of the state
*/
default OptionalInt getInternalBlockStateId(BlockState state) {
return OptionalInt.empty();
}