geforkt von Mirrors/FastAsyncWorldEdit
Fix ItemType.getBlockType
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren