mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 21:56:47 +01:00
Small tweaks
This commit is contained in:
parent
e011f545a7
commit
7264e1a8d6
@ -20,7 +20,7 @@ Version 2.1.219
|
|||||||
Added 'Stripped_Cherry_Log' to woodcutting experience in experience.yml
|
Added 'Stripped_Cherry_Log' to woodcutting experience in experience.yml
|
||||||
Added 'Stripped_Cherry_Wood' to woodcutting experience in experience.yml
|
Added 'Stripped_Cherry_Wood' to woodcutting experience in experience.yml
|
||||||
Added 'Skills.Mining.BlastMining.Bonus_Drops.Enabled' to advanced.yml to enable/disable bonus drops from Blast Mining
|
Added 'Skills.Mining.BlastMining.Bonus_Drops.Enabled' to advanced.yml to enable/disable bonus drops from Blast Mining
|
||||||
NOTE: There are plans to add experience for discovering items via the new brushing mechanic, but this will have to wait for new Spigot API to become available
|
NOTE: There are plans to add experience and potentially subskills for discovering items via the new brushing mechanic, but this will have to wait for new Spigot API to become available
|
||||||
|
|
||||||
Version 2.1.218
|
Version 2.1.218
|
||||||
Fixed locale pt_BR type (thanks MrPowerGamerBR)
|
Fixed locale pt_BR type (thanks MrPowerGamerBR)
|
||||||
|
@ -798,7 +798,6 @@ public class HerbalismManager extends SkillManager {
|
|||||||
case "torchflower":
|
case "torchflower":
|
||||||
seed = Material.matchMaterial("TORCHFLOWER_SEEDS");
|
seed = Material.matchMaterial("TORCHFLOWER_SEEDS");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -854,17 +853,17 @@ public class HerbalismManager extends SkillManager {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (blockState.getType()) {
|
switch (blockState.getType().getKey().getKey()) {
|
||||||
|
|
||||||
case POTATOES:
|
case "potatoes":
|
||||||
case CARROTS:
|
case "carrots":
|
||||||
case WHEAT:
|
case "wheat":
|
||||||
|
|
||||||
finalAge = getGreenThumbStage(greenTerra);
|
finalAge = getGreenThumbStage(greenTerra);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BEETROOTS:
|
case "beetroots":
|
||||||
case NETHER_WART:
|
case "nether_wart":
|
||||||
|
|
||||||
if (greenTerra || greenThumbStage > 2) {
|
if (greenTerra || greenThumbStage > 2) {
|
||||||
finalAge = 2;
|
finalAge = 2;
|
||||||
@ -875,9 +874,9 @@ public class HerbalismManager extends SkillManager {
|
|||||||
else {
|
else {
|
||||||
finalAge = 0;
|
finalAge = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case COCOA:
|
case "cocoa":
|
||||||
|
|
||||||
if (getGreenThumbStage(greenTerra) >= 2) {
|
if (getGreenThumbStage(greenTerra) >= 2) {
|
||||||
finalAge = 1;
|
finalAge = 1;
|
||||||
@ -891,6 +890,7 @@ public class HerbalismManager extends SkillManager {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Start the delayed replant
|
//Start the delayed replant
|
||||||
startReplantTask(finalAge, blockBreakEvent, blockState, false);
|
startReplantTask(finalAge, blockBreakEvent, blockState, false);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user