mirror of
https://github.com/PEXPlugins/Modifyworld.git
synced 2024-11-22 11:35:23 +01:00
Merge branch 'master' of github.com:PEXPlugins/Modifyworld
This commit is contained in:
commit
081dc8786f
@ -71,7 +71,6 @@ public class EntityListener extends ModifyworldListener {
|
|||||||
|
|
||||||
protected void cancelDamageEvent(Player player, EntityDamageEvent event) {
|
protected void cancelDamageEvent(Player player, EntityDamageEvent event) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
event.setDamage(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.LOW)
|
@EventHandler(priority = EventPriority.LOW)
|
||||||
|
Loading…
Reference in New Issue
Block a user