mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Merge pull request #4767 from alexpic57/1.12
fix for aidancbrady/Mekanism#3805 and #4763
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -30,7 +30,7 @@ public class MekanismClient extends Mekanism
|
||||
|
||||
public static void updateKey(KeyBinding key, int type)
|
||||
{
|
||||
boolean down = Minecraft.getMinecraft().currentScreen == null && key.isPressed();
|
||||
boolean down = Minecraft.getMinecraft().currentScreen == null && key.isKeyDown();
|
||||
|
||||
if(down != keyMap.has(Minecraft.getMinecraft().player, type))
|
||||
{
|
||||
|
||||
@@ -712,6 +712,10 @@ public abstract class BlockMachine extends BlockContainer
|
||||
{
|
||||
itemStack.shrink(1);
|
||||
}
|
||||
else {
|
||||
player.dropItem(copyStack, false, true);
|
||||
itemStack.shrink(1);
|
||||
}
|
||||
|
||||
if(tileEntity.tier != FluidTankTier.CREATIVE)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user