PaperMC/nms-patches/PacketPlayOutSpawnPosition.patch
2015-05-25 20:37:24 +10:00

20 lines
619 B
Diff

--- a/net/minecraft/server/PacketPlayOutSpawnPosition.java
+++ b/net/minecraft/server/PacketPlayOutSpawnPosition.java
@@ -4,7 +4,7 @@
public class PacketPlayOutSpawnPosition implements Packet<PacketListenerPlayOut> {
- private BlockPosition position;
+ public BlockPosition position; // CraftBukkit - public
public PacketPlayOutSpawnPosition() {}
@@ -23,8 +23,4 @@
public void a(PacketListenerPlayOut packetlistenerplayout) {
packetlistenerplayout.a(this);
}
-
- public void a(PacketListener packetlistener) {
- this.a((PacketListenerPlayOut) packetlistener);
- }
}