Removed the debug helper

master
Wynd 2025-04-12 14:11:53 +03:00
parent 6201b03f55
commit f6c0a6bb7e
1 changed files with 12 additions and 12 deletions

View File

@ -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;
}