1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Rename cook to bake

Correct English
This commit is contained in:
montlikadani 2019-10-26 11:37:40 +02:00
parent c36df666be
commit c825a2de56
6 changed files with 11 additions and 9 deletions

View File

@ -416,6 +416,7 @@ public class editjobs implements Cmd {
case ENCHANT:
case DYE:
case CRAFT:
case BAKE:
case BREW:
case BREAK:
case STRIPLOGS:
@ -559,7 +560,7 @@ public class editjobs implements Cmd {
}
type = myKey;
} else if (actionT == ActionType.CUSTOMKILL || actionT == ActionType.SHEAR || actionT == ActionType.MMKILL
|| actionT == ActionType.COLLECT)
|| actionT == ActionType.COLLECT || actionT == ActionType.BAKE)
type = myKey;
else if (actionT == ActionType.EXPLORE) {
type = myKey;

View File

@ -369,6 +369,7 @@ public class editquests implements Cmd {
case ENCHANT:
case DYE:
case CRAFT:
case BAKE:
case BREW:
case BREAK:
case STRIPLOGS:
@ -513,7 +514,7 @@ public class editquests implements Cmd {
}
type = myKey;
} else if (actionT == ActionType.CUSTOMKILL || actionT == ActionType.SHEAR || actionT == ActionType.MMKILL
|| actionT == ActionType.COLLECT)
|| actionT == ActionType.COLLECT || actionT == ActionType.BAKE)
type = myKey;
else if (actionT == ActionType.EXPLORE) {
type = myKey;

View File

@ -201,7 +201,7 @@ public class ConfigManager {
case ENCHANT:
case DYE:
case CRAFT:
case COOK:
case BAKE:
case BREW:
case BREAK:
case STRIPLOGS:
@ -351,7 +351,7 @@ public class ConfigManager {
CMIEnchantment enchant = CMIEnchantment.get(myKey);
type = enchant == null ? myKey : enchant.toString();
} else if (actionType == ActionType.CUSTOMKILL || actionType == ActionType.SHEAR || actionType == ActionType.MMKILL
|| actionType == ActionType.COLLECT || actionType == ActionType.COOK)
|| actionType == ActionType.COLLECT || actionType == ActionType.BAKE)
type = myKey;
else if (actionType == ActionType.EXPLORE) {
type = myKey;
@ -987,7 +987,7 @@ public class ConfigManager {
case ENCHANT:
case DYE:
case CRAFT:
case COOK:
case BAKE:
case BREW:
case BREAK:
case STRIPLOGS:
@ -1139,7 +1139,7 @@ public class ConfigManager {
}
type = enchant == null ? myKey : enchant.toString();
} else if (actionType == ActionType.CUSTOMKILL || actionType == ActionType.COLLECT || actionType == ActionType.MMKILL
|| actionType == ActionType.SHEAR || actionType == ActionType.COOK)
|| actionType == ActionType.SHEAR || actionType == ActionType.BAKE)
type = myKey;
else if (actionType == ActionType.EXPLORE) {
type = myKey;

View File

@ -41,7 +41,7 @@ public enum ActionType {
EAT("Eat"),
CUSTOMKILL("custom-kill"),
COLLECT("Collect"),
COOK("Cook");
BAKE("Bake");
private String name;

View File

@ -50,7 +50,7 @@ public class JobsPayment14Listener implements Listener {
if (jPlayer == null)
return;
Jobs.action(jPlayer, new ItemActionInfo(event.getResult(), ActionType.COOK));
Jobs.action(jPlayer, new ItemActionInfo(event.getResult(), ActionType.BAKE));
it.remove();
}
}

View File

@ -234,7 +234,7 @@ Jobs:
points: 1.5
experience: 1.5
# Payment for cooking raw foods
Cook:
Bake:
beef:
income: 1.0
experience: 1.0