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)
{
case AXE:
PP.getAxePreparationMode();
return PP.getAxePreparationMode();
case FISTS:
PP.getFistsPreparationMode();
return PP.getFistsPreparationMode();
case HOE:
PP.getHoePreparationMode();
return PP.getHoePreparationMode();
case PICKAXE:
PP.getPickaxePreparationMode();
return PP.getPickaxePreparationMode();
case SHOVEL:
PP.getShovelPreparationMode();
return PP.getShovelPreparationMode();
case SWORD:
PP.getSwordsPreparationMode();
return PP.getSwordsPreparationMode();
}
return false;
}