change rtp position + fix whoops

This commit is contained in:
ChomeNS
2023-07-06 19:34:23 +07:00
parent fd3c7d62f7
commit 1a274e281b
2 changed files with 4 additions and 4 deletions

View File

@@ -27,9 +27,9 @@ public class RandomTeleportCommand extends Command {
final MutablePlayerListEntry sender = context.sender;
final int positionX = MathUtilities.between(1_000, 1_000_000);
final int positionZ = MathUtilities.between(1_000, 1_000_000);
final String stringPosition = positionX + " 100 " + positionZ; // very 100 y
final int positionX = MathUtilities.between(-1_000_000, 1_000_000);
final int positionZ = MathUtilities.between(-1_000_000, 1_000_000);
final String stringPosition = positionX + " 100 " + positionZ; // is harding the y to 100 a great idea?
bot.core.run("essentials:teleport " + sender.profile.getIdAsString() + " " + stringPosition);

View File

@@ -13,7 +13,7 @@ consolePrefixes:
internetCheck:
enabled: true
url: 'https://sus.red'
address: 'https://sus.red'
discord:
enabled: false