Removed the debug helper
parent
6201b03f55
commit
f6c0a6bb7e
|
@ -80,18 +80,18 @@ public class mod_FinalBeta extends BaseMod {
|
|||
public boolean OnTickInGame(Minecraft minecraft) {
|
||||
|
||||
// DEBUG stuff
|
||||
if (this.canPressKey(Keyboard.KEY_O)) {
|
||||
minecraft.thePlayer.dropItem(Item.doorWood.shiftedIndex, 2);
|
||||
minecraft.thePlayer.dropItem(Block.pressurePlatePlanks.blockID, 4);
|
||||
minecraft.thePlayer.dropItem(Item.redstone.shiftedIndex, 64);
|
||||
|
||||
minecraft.theWorld.setWorldTime(0);
|
||||
}
|
||||
else {
|
||||
if (keyTimer > 0) {
|
||||
keyTimer -= 1;
|
||||
}
|
||||
}
|
||||
// if (this.canPressKey(Keyboard.KEY_O)) {
|
||||
// minecraft.thePlayer.dropItem(Item.doorWood.shiftedIndex, 2);
|
||||
// minecraft.thePlayer.dropItem(Block.pressurePlatePlanks.blockID, 4);
|
||||
// minecraft.thePlayer.dropItem(Item.redstone.shiftedIndex, 64);
|
||||
//
|
||||
// minecraft.theWorld.setWorldTime(0);
|
||||
// }
|
||||
// else {
|
||||
// if (keyTimer > 0) {
|
||||
// keyTimer -= 1;
|
||||
// }
|
||||
// }
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue