From 422914ef9decf500022be44c3448246f344a6d80 Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Fri, 28 Aug 2020 21:40:31 +0200 Subject: [PATCH] Increase visibility of a few methods Fixes PaperMC/Paper#4094. --- Spigot-Server-Patches/MC-Utils.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Spigot-Server-Patches/MC-Utils.patch b/Spigot-Server-Patches/MC-Utils.patch index e5b676708..efb24f2ad 100644 --- a/Spigot-Server-Patches/MC-Utils.patch +++ b/Spigot-Server-Patches/MC-Utils.patch @@ -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 { + 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 { return this.distanceSquared(iposition.getX(), iposition.getY(), iposition.getZ(), true) < d0 * d0; }