Fixed missing return calls in ToolType.java

This commit is contained in:
GJ 2012-02-27 17:37:43 -05:00
parent 57bf414d59
commit 1511c5737b

View File

@ -38,17 +38,17 @@ public enum ToolType
switch(this) switch(this)
{ {
case AXE: case AXE:
PP.getAxePreparationMode(); return PP.getAxePreparationMode();
case FISTS: case FISTS:
PP.getFistsPreparationMode(); return PP.getFistsPreparationMode();
case HOE: case HOE:
PP.getHoePreparationMode(); return PP.getHoePreparationMode();
case PICKAXE: case PICKAXE:
PP.getPickaxePreparationMode(); return PP.getPickaxePreparationMode();
case SHOVEL: case SHOVEL:
PP.getShovelPreparationMode(); return PP.getShovelPreparationMode();
case SWORD: case SWORD:
PP.getSwordsPreparationMode(); return PP.getSwordsPreparationMode();
} }
return false; return false;
} }