Skip to content

Commit ac14de4

Browse files
Update Match.java
1 parent 63a3e56 commit ac14de4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/me/lrxh/practice/match/Match.java

-5
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ public void setupPlayer(Player player) {
172172
}
173173
Profile profile = Profile.getByUuid(player.getUniqueId());
174174

175-
KnockbackUtil knockbackUtil = new KnockbackUtil();
176-
177175
// Reset the player's inventory
178176
PlayerUtil.reset(player);
179177

@@ -186,9 +184,6 @@ public void setupPlayer(Player player) {
186184
// Set the player's max damage ticks
187185
player.setMaximumNoDamageTicks(getKit().getGameRules().getHitDelay());
188186

189-
// Set the player's knockback
190-
knockbackUtil.setKnockback(player, kit.getGameRules().getKnockbackProfile());
191-
192187
// If the player has no kits, apply the default kit, otherwise
193188
// give the player a list of kit books to choose from
194189
if (!getKit().getGameRules().isSumo()) {

0 commit comments

Comments
 (0)