Skip to content

Commit 0ef4218

Browse files
committed
必要のないコードを削除
1 parent 02c81c8 commit 0ef4218

File tree

1 file changed

+0
-6
lines changed
  • src/main/java/com/github/elic0de/thejpspit/spigot/player

1 file changed

+0
-6
lines changed

src/main/java/com/github/elic0de/thejpspit/spigot/player/PitPlayer.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,6 @@ public void increaseXP() {
261261
updateXpBar();
262262
}
263263

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-
270264
public void setLastDamager(PitPlayer player) {
271265
this.lastDamager = player;
272266
}

0 commit comments

Comments
 (0)