mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Clean-up some misc. parts of the code
This commit is contained in:
committed by
Matthew Miller
parent
dc21b4df58
commit
8c17aab9c5
@ -65,7 +65,7 @@ public class BlockState implements BlockStateHolder<BlockState> {
|
||||
this.values = new LinkedHashMap<>();
|
||||
this.emptyBaseBlock = new BaseBlock(this);
|
||||
}
|
||||
|
||||
|
||||
BlockState initializeId(BlockRegistry registry) {
|
||||
this.internalId = registry.getInternalBlockStateId(this);
|
||||
return this;
|
||||
|
@ -73,5 +73,6 @@ public interface BlockRegistry {
|
||||
* @param id The internal ID
|
||||
* @return the block state, if available
|
||||
*/
|
||||
@Nullable
|
||||
BlockState getBlockStateByInternalId(int id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user