mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 15:56:07 +00:00
Fix: Bucket Handling
* Restored Reservoir special multi-block handling (thx git) * Restored sneaking behavior
This commit is contained in:
1 parent
731e283dfa
commit
6e47f3da27
2 files changed
+12
-4
No files matched your search
@@ -95,6 +95,10 @@ public abstract class BlockEio extends Block {
|
||||
}
|
||||
}
|
||||
|
||||
if (entityPlayer.isSneaking()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (te instanceof ITankAccess) {
|
||||
if (FluidUtil.fillInternalTankFromPlayerHandItem(world, x, y, z, entityPlayer, (ITankAccess) te)) {
|
||||
return true;
|
||||
@@ -104,10 +108,6 @@ public abstract class BlockEio extends Block {
|
||||
}
|
||||
}
|
||||
|
||||
if(entityPlayer.isSneaking()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return openGui(world, x, y, z, entityPlayer, side);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user