mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-22 00:00:40 +00:00
Pass correct coords for ore block checks
This commit is contained in:
@@ -138,7 +138,7 @@ public class VanillaOre implements Structure {
|
|||||||
if(!bitSet.get(ac)) {
|
if(!bitSet.get(ac)) {
|
||||||
bitSet.set(ac);
|
bitSet.set(ac);
|
||||||
|
|
||||||
BlockType block = world.getBlockState(x, y, z).getBlockType();
|
BlockType block = world.getBlockState(t1, v1, aa).getBlockType();
|
||||||
|
|
||||||
if(shouldPlace(block, random, world, t1, v1, aa)) {
|
if(shouldPlace(block, random, world, t1, v1, aa)) {
|
||||||
world.setBlockState(t1, v1, aa, getMaterial(block), isApplyGravity());
|
world.setBlockState(t1, v1, aa, getMaterial(block), isApplyGravity());
|
||||||
|
|||||||
Reference in New Issue
Block a user