3
0

Allow fake net handlers, fix #268

This commit is contained in:
Sergey Shatunov 2016-01-05 15:14:32 +07:00
parent 99915acb8b
commit 7f897a021d

View File

@ -125,7 +125,7 @@
this.playerEntity = p_i1530_3_;
p_i1530_3_.playerNetServerHandler = this;
+ // CraftBukkit start
+ this.server = p_i1530_1_.server;
+ this.server = p_i1530_1_ == null ? null : p_i1530_1_.server;
}
+ private final org.bukkit.craftbukkit.CraftServer server;