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_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
|
||||
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
|
||||
Fixed locale pt_BR type (thanks MrPowerGamerBR)
|
||||
|
@ -798,7 +798,6 @@ public class HerbalismManager extends SkillManager {
|
||||
case "torchflower":
|
||||
seed = Material.matchMaterial("TORCHFLOWER_SEEDS");
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
@ -854,17 +853,17 @@ public class HerbalismManager extends SkillManager {
|
||||
return true;
|
||||
}
|
||||
|
||||
switch (blockState.getType()) {
|
||||
switch (blockState.getType().getKey().getKey()) {
|
||||
|
||||
case POTATOES:
|
||||
case CARROTS:
|
||||
case WHEAT:
|
||||
case "potatoes":
|
||||
case "carrots":
|
||||
case "wheat":
|
||||
|
||||
finalAge = getGreenThumbStage(greenTerra);
|
||||
break;
|
||||
|
||||
case BEETROOTS:
|
||||
case NETHER_WART:
|
||||
case "beetroots":
|
||||
case "nether_wart":
|
||||
|
||||
if (greenTerra || greenThumbStage > 2) {
|
||||
finalAge = 2;
|
||||
@ -875,9 +874,9 @@ public class HerbalismManager extends SkillManager {
|
||||
else {
|
||||
finalAge = 0;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case COCOA:
|
||||
case "cocoa":
|
||||
|
||||
if (getGreenThumbStage(greenTerra) >= 2) {
|
||||
finalAge = 1;
|
||||
@ -891,6 +890,7 @@ public class HerbalismManager extends SkillManager {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
//Start the delayed replant
|
||||
startReplantTask(finalAge, blockBreakEvent, blockState, false);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user