mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +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)) {
|
||||
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)) {
|
||||
world.setBlockState(t1, v1, aa, getMaterial(block), isApplyGravity());
|
||||
|
||||
Reference in New Issue
Block a user