mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Hot reload listener for datapacks and stilts underwater.
This commit is contained in:
2 files changed
+7
-2
No files matched your search
@@ -719,7 +719,7 @@ public class IrisObject extends IrisRegistrant {
|
||||
i = config.getRotation().rotate(i.clone(), spinx, spiny, spinz).clone();
|
||||
i = config.getTranslate().translate(i.clone(), config.getRotation(), spinx, spiny, spinz).clone();
|
||||
|
||||
if(stilting && i.getBlockY() < lowest && !B.isAir(data)) {
|
||||
if(stilting && i.getBlockY() < lowest && !B.isAirOrFluid(data)) {
|
||||
lowest = i.getBlockY();
|
||||
}
|
||||
|
||||
@@ -825,7 +825,7 @@ public class IrisObject extends IrisRegistrant {
|
||||
}
|
||||
|
||||
|
||||
if(d == null || B.isAir(d)) {
|
||||
if(d == null || B.isAirOrFluid(d)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user