API to get client side view distance.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-11-02 21:24:14 +11:00
parent 3adff790f9
commit 88f0b69603
3 changed files with 51 additions and 33 deletions

View File

@@ -0,0 +1,11 @@
--- a/net/minecraft/server/PacketPlayInSettings.java
+++ b/net/minecraft/server/PacketPlayInSettings.java
@@ -5,7 +5,7 @@
public class PacketPlayInSettings implements Packet<PacketListenerPlayIn> {
private String a;
- private int b;
+ public int b; // PAIL
private EntityHuman.EnumChatVisibility c;
private boolean d;
private int e;