flewkey
/
mc.2a03.party
Archived
1
0
Fork 0
This repository has been archived on 2020-06-15. You can view files and clone it, but cannot push or open issues or pull requests.
mc.2a03.party/patches/net/minecraft/entity/player/ServerPlayerEntity.patch

28 lines
1.2 KiB
Diff
Raw Normal View History

2019-06-07 00:59:07 -04:00
--- a/net/minecraft/entity/player/ServerPlayerEntity.java
+++ b/net/minecraft/entity/player/ServerPlayerEntity.java
2019-07-04 20:32:15 -04:00
@@ -119,6 +119,8 @@
2019-06-07 00:59:07 -04:00
import net.minecraft.world.storage.WorldInfo;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
+import party._2a03.mc.server.Config; //Patched
+import party._2a03.mc.server.PlayerData; //Patched
2019-06-07 00:59:07 -04:00
public class ServerPlayerEntity extends PlayerEntity implements IContainerListener {
private static final Logger field_147102_bM = LogManager.getLogger();
2019-07-04 20:32:15 -04:00
@@ -157,6 +159,7 @@
public boolean field_71137_h;
public int field_71138_i;
public boolean field_71136_j;
+ public PlayerData player_data; //Patched
public ServerPlayerEntity(MinecraftServer p_i45285_1_, ServerWorld p_i45285_2_, GameProfile p_i45285_3_, PlayerInteractionManager p_i45285_4_) {
super(p_i45285_2_, p_i45285_3_);
2019-07-04 20:32:15 -04:00
@@ -168,6 +171,7 @@
this.field_192042_bX = p_i45285_1_.func_184103_al().func_192054_h(this);
this.field_70138_W = 1.0F;
this.func_205734_a(p_i45285_2_);
+ this.player_data = Config.getPlayer(this.func_110124_au().toString()); //Patched
2019-06-07 00:59:07 -04:00
}
private void func_205734_a(ServerWorld p_205734_1_) {