forked from TAIGA/TAIGA
some minor fixes
This commit is contained in:
@@ -40,7 +40,6 @@ public class TraitFragile extends AbstractTrait {
|
||||
if (r == 1) y += d;
|
||||
if (r == 2) z += d;
|
||||
BlockPos nextBlock = new BlockPos(x, y, z);
|
||||
int tn = (int) world.getWorldTime() + 5;
|
||||
if (world.getBlockState(nextBlock) == world.getBlockState(pos)) {
|
||||
Block block = Blocks.STONE;
|
||||
int ib = random.nextInt(3);
|
||||
|
||||
@@ -57,6 +57,7 @@ public class TraitGarishly extends AbstractTrait {
|
||||
break;
|
||||
}
|
||||
|
||||
assert i != null;
|
||||
event.getDrops().add(0, new EntityItem(w, event.getEntity().posX, event.getEntity().posY, event.getEntity().posZ, i));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user