Skip to content

Commit 1ebcbb1

Browse files
committed
fix zisatu
1 parent 9d3b7e8 commit 1ebcbb1

File tree

1 file changed

+9
-0
lines changed
  • src/main/java/com/github/elic0de/thejpspit/game

1 file changed

+9
-0
lines changed

src/main/java/com/github/elic0de/thejpspit/game/Game.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ public void death(PitPlayer player) {
4141
if (location != null) player.getPlayer().teleport(location);
4242
});
4343

44+
if (killer == player) {
45+
player.increaseDeaths();
46+
player.resetItem();
47+
player.resetStreaks();
48+
player.sendMessage("&c【PIT】死亡しました");
49+
50+
return;
51+
}
52+
4453
if (killer == null) {
4554
player.increaseDeaths();
4655
player.resetItem();

0 commit comments

Comments
 (0)