mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Resolving issue #258.
This commit is contained in:
		| @@ -298,6 +298,13 @@ public class WoodCutting { | |||||||
|  |  | ||||||
|         int skillLevel = Users.getProfile(player).getSkillLevel(SkillType.WOODCUTTING); |         int skillLevel = Users.getProfile(player).getSkillLevel(SkillType.WOODCUTTING); | ||||||
|         byte type = block.getData(); |         byte type = block.getData(); | ||||||
|  |  | ||||||
|  |         if((type & 0x4) == 0x4) | ||||||
|  |             type ^= 0x4; | ||||||
|  |  | ||||||
|  |         if((type & 0x8) == 0x8) | ||||||
|  |             type ^= 0x8; | ||||||
|  |  | ||||||
|         Material mat = Material.getMaterial(block.getTypeId()); |         Material mat = Material.getMaterial(block.getTypeId()); | ||||||
|  |  | ||||||
|         int randomChance = 1000; |         int randomChance = 1000; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Glitchfinder
					Glitchfinder