change rtp position + fix whoops
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ consolePrefixes:
|
||||
|
||||
internetCheck:
|
||||
enabled: true
|
||||
url: 'https://sus.red'
|
||||
address: 'https://sus.red'
|
||||
|
||||
discord:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user