mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Remove incorrect FallingBlock patch (#8092)
The patch accidentally replaces the minimum build height (set by the dimension via e.g. datapacks) with 0, causing falling blocks placed below Y level 0 to never fall. Fixes #8091
This commit is contained in:
1 parent
b2dbe9de51
commit
a3e9d7a397
1 file changed
-11
@@ -1,11 +0,0 @@
|
||||
--- a/net/minecraft/world/level/block/FallingBlock.java
|
||||
+++ b/net/minecraft/world/level/block/FallingBlock.java
|
||||
@@ -30,7 +_,7 @@
|
||||
}
|
||||
|
||||
public void m_7458_(BlockState p_53216_, ServerLevel p_53217_, BlockPos p_53218_, Random p_53219_) {
|
||||
- if (m_53241_(p_53217_.m_8055_(p_53218_.m_7495_())) && p_53218_.m_123342_() >= p_53217_.m_141937_()) {
|
||||
+ if (m_53241_(p_53217_.m_8055_(p_53218_.m_7495_())) && p_53218_.m_123342_() >= 0) {
|
||||
FallingBlockEntity fallingblockentity = new FallingBlockEntity(p_53217_, (double)p_53218_.m_123341_() + 0.5D, (double)p_53218_.m_123342_(), (double)p_53218_.m_123343_() + 0.5D, p_53217_.m_8055_(p_53218_));
|
||||
this.m_6788_(fallingblockentity);
|
||||
p_53217_.m_7967_(fallingblockentity);
|
||||
Reference in new issue
Block a user