Minor WrappedPacketInSettings change
This commit is contained in:
1 parent
905dd43a0d
commit
43ea7737ec
1 file changed
+2
-2
+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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user