Increase visibility of a few methods

Fixes PaperMC/Paper#4094.
This commit is contained in:
Mariell Hoversholm 2020-08-28 21:40:31 +02:00
parent a22f15dcc9
commit 422914ef9d

View file

@ -2300,6 +2300,25 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public BaseBlockPosition(int i, int j, int k) {
this.a = i;
@@ -0,0 +0,0 @@ public class BaseBlockPosition implements Comparable<BaseBlockPosition> {
return this.e;
}
- protected void o(int i) {
+ public void o(int i) { // Paper - protected -> public
this.a = i;
}
- protected void p(int i) {
+ public void p(int i) { // Paper - protected -> public
this.b = i;
}
- protected void q(int i) {
+ public void q(int i) { // Paper - protected -> public
this.e = i;
}
@@ -0,0 +0,0 @@ public class BaseBlockPosition implements Comparable<BaseBlockPosition> {
return this.distanceSquared(iposition.getX(), iposition.getY(), iposition.getZ(), true) < d0 * d0;
}