mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +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)
|
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user