Commit 63a3e56 1 parent efc8131 commit 63a3e56 Copy full SHA for 63a3e56
File tree 1 file changed +3
-1
lines changed
src/main/java/me/lrxh/practice/match
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ public void setupPlayer(Player player) {
172
172
}
173
173
Profile profile = Profile .getByUuid (player .getUniqueId ());
174
174
175
+ KnockbackUtil knockbackUtil = new KnockbackUtil ();
176
+
175
177
// Reset the player's inventory
176
178
PlayerUtil .reset (player );
177
179
@@ -185,7 +187,7 @@ public void setupPlayer(Player player) {
185
187
player .setMaximumNoDamageTicks (getKit ().getGameRules ().getHitDelay ());
186
188
187
189
// Set the player's knockback
188
- KnockbackUtil .setKnockback (player , kit .getGameRules ().getKnockbackProfile ());
190
+ knockbackUtil .setKnockback (player , kit .getGameRules ().getKnockbackProfile ());
189
191
190
192
// If the player has no kits, apply the default kit, otherwise
191
193
// give the player a list of kit books to choose from
You can’t perform that action at this time.
0 commit comments