Skip to content

Commit 7b2d8b0

Browse files
authored
Fix
1 parent 0bc0d25 commit 7b2d8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/forge-1.16.5/templates/livingentity/livingentity.java.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ public class ${name}Entity extends ${extendsClass}Entity <#if interfaces?size gt
896896
}
897897
<#else>
898898
(entityType, world, reason, pos, random) -> {
899-
return world.getFluidState(pos.down()).isIn(FluidTags.WATER) && world.getBlockState(pos.up()).matchesBlock(Blocks.WATER) && pos.getY() >= (world.getSeaLevel() - 13) && pos.getY() <= world.getSeaLevel();
899+
return world.getFluidState(pos.down()).isTagged(FluidTags.WATER) && world.getBlockState(pos.up()).matchesBlock(Blocks.WATER) && pos.getY() >= (world.getSeaLevel() - 13) && pos.getY() <= world.getSeaLevel();
900900
}
901901
</#if>
902902
);

0 commit comments

Comments
 (0)