Fix ItemType.getBlockType

Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-23 16:16:26 +10:00
Ursprung 290f047f6a
Commit 208929c378
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -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;
} }