We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02c81c8 commit 0ef4218Copy full SHA for 0ef4218
src/main/java/com/github/elic0de/thejpspit/spigot/player/PitPlayer.java
@@ -261,12 +261,6 @@ public void increaseXP() {
261
updateXpBar();
262
}
263
264
- public void increaseHealth() {
265
- if (player.isDead()) return;
266
- player.setHealth(Math.min(player.getAttribute(Attribute.GENERIC_MAX_HEALTH).getValue(),
267
- player.getHealth() + 2));
268
- }
269
-
270
public void setLastDamager(PitPlayer player) {
271
this.lastDamager = player;
272
0 commit comments