Skip to content

Commit 21f6637

Browse files
committed
(misc) remove debug parameters
1 parent d87fc88 commit 21f6637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/cat/nyaa/nfs/GuidanceService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ public void onPlayerMove(PlayerMoveEvent event) {
4848
var playerLocation = player.getLocation();
4949
var playerSpeed = player.getVelocity().length();
5050
var playerDistance = playerLocation.distance(guidanceMarker.getLocation());
51-
player.sendTitle("", playerSpeed + "", 0, 20, 0);
51+
5252
if (playerSpeed > 0.15 && playerDistance > 5) {
5353
var locInFront = playerLocation.clone().add(playerLocation.getDirection().multiply(5));
5454
var vibrationSpeed = min(playerDistance / playerSpeed / 1.5, playerDistance / 2);
5555
var data = new Vibration(locInFront, new Vibration.Destination.BlockDestination(guidanceMarker.getLocation().getBlock()), (int) (vibrationSpeed));
56-
player.spawnParticle(Particle.VIBRATION, locInFront, 10, data);
56+
player.spawnParticle(Particle.VIBRATION, locInFront, 1, data);
5757
}
5858
}
5959

0 commit comments

Comments
 (0)