TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Glass shard drop math creates duplication loop

eerussianguy opened this issue ยท 1 comments

commented

Any material glass will drop a shard 50% of the time, which bakes back into a full glass block. So, 16 panes -> ~8 shards -> 8 glass blocks -> 21ish panes

Relevant line:

if (state.getMaterial() == Material.GLASS && Constants.RNG.nextInt(2) == 0)

commented

My suggestion to fix -- just use the if statement to exclude BlockPane