summaryrefslogtreecommitdiffstats
path: root/nms-patches/PortalTravelAgent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/PortalTravelAgent.patch')
-rw-r--r--nms-patches/PortalTravelAgent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/PortalTravelAgent.patch b/nms-patches/PortalTravelAgent.patch
index fd81d2dc..2ad05052 100644
--- a/nms-patches/PortalTravelAgent.patch
+++ b/nms-patches/PortalTravelAgent.patch
@@ -120,7 +120,7 @@
- for (int i1 = -128; i1 <= 128; ++i1) {
+ for (int i1 = -radius; i1 <= radius; ++i1) {
- for (BlockPosition blockposition2 = blockposition.a(l, this.world.aa() - 1 - blockposition.getY(), i1); blockposition2.getY() >= 0; blockposition2 = blockposition1) {
+ for (BlockPosition blockposition2 = blockposition.a(l, this.world.ab() - 1 - blockposition.getY(), i1); blockposition2.getY() >= 0; blockposition2 = blockposition1) {
blockposition1 = blockposition2.down();
if (this.world.getType(blockposition2).getBlock() == PortalTravelAgent.a) {
@@ -96,6 +159,29 @@
@@ -244,7 +244,7 @@
+ d2 = (double) j2 + 0.5D - z; // CraftBukkit
label257:
- for (k2 = this.world.aa() - 1; k2 >= 0; --k2) {
+ for (k2 = this.world.ab() - 1; k2 >= 0; --k2) {
@@ -217,7 +331,7 @@
}
}
@@ -266,7 +266,7 @@
+ d2 = (double) j2 + 0.5D - z; // CraftBukkit
label205:
- for (k2 = this.world.aa() - 1; k2 >= 0; --k2) {
+ for (k2 = this.world.ab() - 1; k2 >= 0; --k2) {
@@ -262,7 +376,7 @@
}
}