mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	@@ -9,6 +9,7 @@ Key:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Version 1.5.01-dev
 | 
					Version 1.5.01-dev
 | 
				
			||||||
 = Fixed bug where the Updater was running on the main thread.
 | 
					 = Fixed bug where the Updater was running on the main thread.
 | 
				
			||||||
 | 
					 ! Vanished players no longer get hit by AoE effects
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version 1.5.00
 | 
					Version 1.5.00
 | 
				
			||||||
 + Added Podzol & Red Sand to Excavation
 | 
					 + Added Podzol & Red Sand to Excavation
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -501,6 +501,11 @@ public final class CombatUtils {
 | 
				
			|||||||
                return false;
 | 
					                return false;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            // Vanished players should not be able to get hit by AoE effects
 | 
				
			||||||
 | 
					            if (!player.canSee(defender)) {
 | 
				
			||||||
 | 
					                return false;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // It may seem a bit redundant but we need a check here to prevent bleed from being applied in applyAbilityAoE()
 | 
					            // It may seem a bit redundant but we need a check here to prevent bleed from being applied in applyAbilityAoE()
 | 
				
			||||||
            if (callFakeDamageEvent(player, entity, 1.0) == 0) {
 | 
					            if (callFakeDamageEvent(player, entity, 1.0) == 0) {
 | 
				
			||||||
                return false;
 | 
					                return false;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user