File tree Expand file tree Collapse file tree
src/main/java/com/azuredoom/levelingcore Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public static void onXPGain(
7777 var killerPos = killerPlayer .getTransform ().getPosition ();
7878 var otherPos = otherPlayer .getTransform ().getPosition ();
7979
80- // TODO: Update changes to JOML so this will be distance
80+ // TODO: Update 5 changes to JOML so this will be distance
8181 var distance = killerPos .distanceTo (otherPos );
8282 if (distance <= cfg .getPartyXPDistanceBlocks ()) {
8383 eligible .add (uuid );
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public static void onXPGain(
7676 var killerPos = killerPlayer .getTransform ().getPosition ();
7777 var otherPos = otherPlayer .getTransform ().getPosition ();
7878
79- // TODO: Update changes to JOML so this will be distance
79+ // TODO: Update 5 changes to JOML so this will be distance
8080 var distance = killerPos .distanceTo (otherPos );
8181 if (distance <= cfg .getPartyXPDistanceBlocks ()) {
8282 eligible .add (uuid );
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ public static int computeNearbyPlayersMeanBaseLevel(
352352 }
353353
354354 var pPos = playerRefComponent .getTransform ().getPosition ();
355- // TODO: Update changes to JOML so this will be distanceSquared
355+ // TODO: Update 5 changes to JOML so this will be distanceSquared
356356 if (pPos .distanceSquaredTo (mobPos ) <= nearbyRadiusSq ) {
357357 var lvl = lvlService .getLevel (playerRefComponent .getUuid ());
358358 sum += lvl ;
You can’t perform that action at this time.
0 commit comments