Removed "Null returned as hitResult" error message from log

This commit is contained in:
CrushedPixel
2015-04-25 17:48:48 +02:00
parent 0003f040ed
commit e22fca0862
5 changed files with 18 additions and 41 deletions

View File

@@ -307,39 +307,6 @@ public class MinecraftTicker {
}
}
}
} else {
while(mc.gameSettings.keyBindAttack.isPressed()) {
if(mc != null)
try {
clickMouse.invoke(mc);
} catch(Exception e) {
}
}
while(mc.gameSettings.keyBindUseItem.isPressed()) {
if(mc != null)
try {
rightClickMouse.invoke(mc);
} catch(Exception e) {
}
}
while(mc.gameSettings.keyBindPickBlock.isPressed()) {
if(mc != null)
try {
middleClickMouse.invoke(mc);
} catch(Exception e) {
}
}
}
if(mc.gameSettings.keyBindUseItem.isKeyDown() && (Integer) rightClickDelayTimer.get(mc) == 0 && !mc.thePlayer.isUsingItem()) {
if(mc != null)
try {
rightClickMouse.invoke(mc);
} catch(Exception e) {
}
}
if(mc != null)