File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
java/org/rainas/nohealthhunger Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
<modelVersion >4.0.0</modelVersion >
3
3
<groupId >io.github.itasli</groupId >
4
4
<artifactId >NoDamageNoHunger</artifactId >
5
- <version >1.0 </version >
5
+ <version >1.1 </version >
6
6
<build >
7
7
<plugins >
8
8
<plugin >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public HealthHungerListener(NoDamageNoHunger plugin) {
18
18
public void onEntityDamage (EntityDamageEvent event ) {
19
19
if (event .getEntity () instanceof Player ) {
20
20
Player player = (Player ) event .getEntity ();
21
- if (player .hasPermission ("NoDamageNoHunger.nohealth " )) {
21
+ if (player .hasPermission ("NoDamageNoHunger.nodamage " )) {
22
22
event .setCancelled (true );
23
23
}
24
24
}
Original file line number Diff line number Diff line change 1
1
main : io.github.itasli.nodamagenohunger.NoDamageNoHunger
2
2
name : NoDamageNoHunger
3
- version : 1.0
3
+ version : 1.1
4
4
description : This plugin cancel damage and hunger if player has the permission !
5
5
api-version : 1.18
6
6
author : itasli
You can’t perform that action at this time.
0 commit comments