Skip to content

Commit

Permalink
chore: remove deprecated method in Block
Browse files Browse the repository at this point in the history
  • Loading branch information
pollend committed Nov 27, 2021
1 parent 43e1b90 commit 79c0bbb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions engine/src/main/java/org/terasology/engine/world/block/Block.java
Original file line number Diff line number Diff line change
Expand Up @@ -524,18 +524,6 @@ public void setColorOffsets(Colorc color) {
}
}

/**
* @return Standalone mesh
* @deprecated Use getMeshGenerator() instead.
*/
@Deprecated
public Mesh getMesh() {
if (meshGenerator != null) {
return meshGenerator.getStandaloneMesh();
}
return new Tessellator().generateMesh(new ResourceUrn("engine", "blockmesh", uri.toString()));
}

public BlockMeshPart getLowLiquidMesh(Side side) {
return lowLiquidMesh[side.ordinal()];
}
Expand Down

0 comments on commit 79c0bbb

Please sign in to comment.