BentoBoxWorld / Limits

Limits blocks and entities on islands - for BentoBox
Eclipse Public License 2.0
8 stars 17 forks source link

Count PISTON_HEAD and MOVING_PISTON #109

Closed YellowZaki closed 3 years ago

YellowZaki commented 3 years ago

I realised last PR I was using an old version of Limits, sorry. Here is the new one.

I've trying breaking a non grown wheat, and it results in WHEAT, not WHEAT_SEEDS. It is impossible to break WHEAT_SEEDS or BEETROOT_SEEDS.

So I've removed all the code corresponding that.

I've also changed the argument from fixMaterial to BlockData, so it can be used to fixMaterial on a ChunkSnapshot, since from ChunkSnapshot we can get Material or BlockData.

tastybento commented 3 years ago

Thanks!