mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Fixed missing return calls in ToolType.java
This commit is contained in:
parent
57bf414d59
commit
1511c5737b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user