File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/github/elic0de/thejpspit/player Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public void increaseKills() {
7373
7474 public void increaseStreaks () {
7575 this .streaks ++;
76- if (bestStreaks > streaks ) {
76+ if (bestStreaks < streaks ) {
7777 this .bestStreaks = streaks ;
7878 }
7979 }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class PitPlayer {
3030 };
3131 private final ItemStack [] ARMOR = {
3232 new ItemStack (Material .CHAINMAIL_BOOTS ),
33- new ItemStack (Material .CHAINMAIL_LEGGINGS ),
33+ new ItemStack (Material .IRON_LEGGINGS ),
3434 new ItemStack (Material .IRON_CHESTPLATE )
3535 };
3636 private long kills ;
@@ -187,7 +187,7 @@ public double getBestRating() {
187187
188188 public void setRating (double rating ) {
189189 this .rating = rating ;
190- if (bestRating > rating ) {
190+ if (bestRating < rating ) {
191191 this .bestRating = rating ;
192192 }
193193 }
You can’t perform that action at this time.
0 commit comments