Implement PlayerResourcePackStatusEvent.
By: Adam Thomas <aet2505@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
--- a/net/minecraft/server/PacketPlayInResourcePackStatus.java
|
||||
+++ b/net/minecraft/server/PacketPlayInResourcePackStatus.java
|
||||
@@ -5,7 +5,7 @@
|
||||
public class PacketPlayInResourcePackStatus implements Packet<PacketListenerPlayIn> {
|
||||
|
||||
private String a;
|
||||
- private PacketPlayInResourcePackStatus.EnumResourcePackStatus b;
|
||||
+ public PacketPlayInResourcePackStatus.EnumResourcePackStatus b; // PAIL: private -> public, rename: status
|
||||
|
||||
public PacketPlayInResourcePackStatus() {}
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
packetlistenerplayin.a(this);
|
||||
}
|
||||
|
||||
- public void a(PacketListener packetlistener) {
|
||||
- this.a((PacketListenerPlayIn) packetlistener);
|
||||
- }
|
||||
-
|
||||
public static enum EnumResourcePackStatus {
|
||||
|
||||
SUCCESSFULLY_LOADED, DECLINED, FAILED_DOWNLOAD, ACCEPTED;
|
||||
Reference in New Issue
Block a user