potential bug ? ItemSTack was used instead of LandmineStack

This commit is contained in:
Alexdoru committed 2023-01-26 00:45:16 +01:00
1 parent d6cc04d26b
commit 80d6d2abd8
1 file changed
+1 -1
@@ -58,7 +58,7 @@ public abstract class Behavior {
&& b.renderAsNormalBlock()
&& !b.canProvidePower()
&& !(b instanceof ITileEntityProvider)
&& !behaviorsListBlocks.containsKey(new ItemStack(b))) {
&& !behaviorsListBlocks.containsKey(new LandmineStack(b))) {
addBehavior(new LandmineStack(b), blockThrow);
}
}