Minor WrappedPacketInSettings change

This commit is contained in:
retrooper committed 2021-11-28 22:59:01 +01:00
1 parent 905dd43a0d
commit 43ea7737ec
1 file changed
+2 -2
@@ -116,7 +116,7 @@ public class WrappedPacketInSettings extends WrappedPacket {
}
//Added in 1.18
public boolean isListingAllowed() {
public boolean isServerListingsAllowed() {
if (v_1_18) {
return readBoolean(2);
}
@@ -124,7 +124,7 @@ public class WrappedPacketInSettings extends WrappedPacket {
}
//Added in 1.18
public void setListingAllowed(boolean allowed) {
public void setServerListingsAllowed(boolean allowed) {
if (v_1_18) {
writeBoolean(2, allowed);
}