mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
New round of fluid system fixes: (#6175)
- Fix race condition lazy-initializing flowing fluid block data. - Fix typo in ItemTextureQuadConverter that prevents certain animated textures from being used in the fluid bucket. - Fix calls to onContentsChanged in FluidTank. - Fix FluidUtil.tryEmptyContainer logic when simulating. - Fix EmptyFluidHandler.fill returning the wrong number.
This commit is contained in:
1 parent
ca980a56bc
commit
b294f4d894
5 files changed
+34
-36
No files matched your search
@@ -150,7 +150,7 @@ public final class ItemTextureQuadConverter
|
||||
for (int y = 0; y < h; y++)
|
||||
{
|
||||
// current pixel
|
||||
boolean isVisible = !sprite.isPixelTransparent(0, x, y);
|
||||
boolean isVisible = !template.isPixelTransparent(0, x, y);
|
||||
|
||||
// no current quad but found a new one
|
||||
if (start < 0 && isVisible)
|
||||
@@ -168,7 +168,7 @@ public final class ItemTextureQuadConverter
|
||||
{
|
||||
for (int i = 0; i < h; i++)
|
||||
{
|
||||
if (sprite.isPixelTransparent(0, x, i) != sprite.isPixelTransparent(0, endX, i))
|
||||
if (template.isPixelTransparent(0, x, i) != template.isPixelTransparent(0, endX, i))
|
||||
{
|
||||
sameColumn = false;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user