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