Skip to content

Commit

Permalink
Merge pull request #1834 from OfficialDonut/master
Browse files Browse the repository at this point in the history
Improve EffFeed
  • Loading branch information
Nicofisi authored Jan 19, 2019
2 parents c2f1048 + 2f3ba80 commit e3cf1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffFeed.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected void execute(Event e) {
level = n.intValue();
}
for (Player player : players.getArray(e)) {
player.setFoodLevel(level);
player.setFoodLevel(player.getFoodLevel() + level);
}
}

Expand Down

0 comments on commit e3cf1fa

Please sign in to comment.