Fixed inconsistencies with vanilla with optimized tnt. Fixes #174
This commit is contained in:
1 parent
1bec0f88f4
commit
72bf29f9a0
1 file changed
+3
-2
@@ -467,9 +467,10 @@ public class OptimizedExplosion
|
||||
size -= (resistance + 0.3F) * 0.3F;
|
||||
}
|
||||
|
||||
if (size > 0.0F && (eAccess.getEntity() == null || eAccess.getEntity().canExplosionDestroyBlock(e, eAccess.getWorld(), posMutable, state, size)))
|
||||
if (size > 0.0F)
|
||||
{
|
||||
affectedBlockPositionsSet.add(posImmutable != null ? posImmutable : posMutable.toImmutable());
|
||||
if ((eAccess.getEntity() == null || eAccess.getEntity().canExplosionDestroyBlock(e, eAccess.getWorld(), posMutable, state, size)))
|
||||
affectedBlockPositionsSet.add(posImmutable != null ? posImmutable : posMutable.toImmutable());
|
||||
}
|
||||
else if (firstRay)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user