mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 09:17:39 +00:00
Fix ItemType.getBlockType
This commit is contained in:
parent
290f047f6a
commit
208929c378
@ -94,14 +94,14 @@ public class ItemType implements RegistryItem {
|
||||
*/
|
||||
@Nullable
|
||||
public BlockType getBlockType() {
|
||||
return this.blockType;
|
||||
}
|
||||
|
||||
public void setBlockType(BlockType blockType) {
|
||||
if (!initBlockType) {
|
||||
initBlockType = true;
|
||||
this.blockType = BlockTypes.get(this.id);
|
||||
}
|
||||
return this.blockType;
|
||||
}
|
||||
|
||||
public void setBlockType(BlockType blockType) {
|
||||
this.blockType = blockType;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user