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