Fix typo in Snow Golem patch causing them to destroy blocks they shouldn't. Closes #8611

This commit is contained in:
LexManos committed 2022-05-07 12:24:09 -07:00
1 parent abc3353375
commit 8865092bb2
1 file changed
+1 -1
@@ -23,7 +23,7 @@
k = Mth.m_14107_(this.m_20189_() + (double)((float)(l / 2 % 2 * 2 - 1) * 0.25F));
BlockPos blockpos1 = new BlockPos(i, j, k);
- if (this.f_19853_.m_8055_(blockpos1).m_60795_() && blockstate.m_60710_(this.f_19853_, blockpos1)) {
+ if (this.f_19853_.m_46859_(blockpos) && blockstate.m_60710_(this.f_19853_, blockpos)) {
+ if (this.f_19853_.m_46859_(blockpos1) && blockstate.m_60710_(this.f_19853_, blockpos1)) {
this.f_19853_.m_46597_(blockpos1, blockstate);
}
}