mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/mcMMO-Dev/mcMMO into tridentsxbows
This commit is contained in:
		| @@ -99,6 +99,8 @@ Version 2.2.000 | ||||
|     Parties got unnecessarily complex in my absence, I have removed many party features in order to simplify parties and bring them closer to my vision. I have also added new features which should improve parties where it matters. | ||||
|     About the removed party features, all the features I removed I consider poor quality features and I don't think they belong in mcMMO. Feel free to yell at me in discord if you disagree. | ||||
|     I don't know what genius decided to make parties public by default, when I found out that parties had been changed to such a system I could barely contain my disgust. Parties are back to being private, you get invited by a party leader or party officer. That is the only way to join a party. | ||||
| Version 2.1.171 | ||||
|     Axes can now replant cocoa plants (thanks Lyther) | ||||
| Version 2.1.170 | ||||
|     Reverted a change that broke compatibility with the mcMMO papi ecloud thingy | ||||
|  | ||||
|   | ||||
| @@ -685,7 +685,8 @@ public class HerbalismManager extends SkillManager { | ||||
|      * @param greenTerra boolean to determine if greenTerra is active or not | ||||
|      */ | ||||
|     private boolean processGreenThumbPlants(BlockState blockState, BlockBreakEvent blockBreakEvent, boolean greenTerra) { | ||||
|         if(!ItemUtils.isHoe(blockBreakEvent.getPlayer().getInventory().getItemInMainHand())) { | ||||
|         if (!ItemUtils.isHoe(blockBreakEvent.getPlayer().getInventory().getItemInMainHand()) | ||||
|         && !ItemUtils.isAxe(blockBreakEvent.getPlayer().getInventory().getItemInMainHand())) { | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
| @@ -734,6 +735,11 @@ public class HerbalismManager extends SkillManager { | ||||
|  | ||||
|         ItemStack seedStack = new ItemStack(seed); | ||||
|  | ||||
|         if (ItemUtils.isAxe(blockBreakEvent.getPlayer().getInventory().getItemInMainHand()) | ||||
|         && blockState.getType() != Material.COCOA) { | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         if (!greenTerra && !RandomChanceUtil.checkRandomChanceExecutionSuccess(player, SubSkillType.HERBALISM_GREEN_THUMB, true)) { | ||||
|             return false; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nossr50
					nossr50