fix a kinda major core problem
me used >= real
This commit is contained in:
parent
b040f07f8b
commit
ac8ab4d74d
1 changed files with 0 additions and 3 deletions
|
@ -86,18 +86,15 @@ public class CorePlugin extends PositionPlugin.PositionListener {
|
||||||
|
|
||||||
if (x > coreEnd.getX()) {
|
if (x > coreEnd.getX()) {
|
||||||
x = coreStart.getX();
|
x = coreStart.getX();
|
||||||
bot.logger().log("x is more than limit (" + coreEnd.getX() + ") so adding z..");
|
|
||||||
z++;
|
z++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (z > coreEnd.getZ()) {
|
if (z > coreEnd.getZ()) {
|
||||||
z = coreStart.getZ();
|
z = coreStart.getZ();
|
||||||
bot.logger().log("z is more than limit (" + coreEnd.getZ() + ") so adding y..");
|
|
||||||
y++;
|
y++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (y > coreEnd.getY()) {
|
if (y > coreEnd.getY()) {
|
||||||
bot.logger().log("y is more than limit (" + coreEnd.getY() + ") so resetting everything..");
|
|
||||||
x = coreStart.getX();
|
x = coreStart.getX();
|
||||||
y = coreStart.getY();
|
y = coreStart.getY();
|
||||||
z = coreStart.getZ();
|
z = coreStart.getZ();
|
||||||
|
|
Loading…
Reference in a new issue