diff options
author | James Clarke <jamesrtclarke@me.com> | 2013-02-05 20:34:02 +0000 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-02-06 16:45:22 -0600 |
commit | 5bb81b75c73898613f4dae3066945d0a9042067a (patch) | |
tree | e6df8a6e032eda185dc65039baeed537d8e6a322 /src/main/java/net/minecraft/server/EntityHuman.java | |
parent | 2e99e02094f51f581f7f98411e47a0f29cdeb3d6 (diff) | |
download | craftbukkit-5bb81b75c73898613f4dae3066945d0a9042067a.tar craftbukkit-5bb81b75c73898613f4dae3066945d0a9042067a.tar.gz craftbukkit-5bb81b75c73898613f4dae3066945d0a9042067a.tar.lz craftbukkit-5bb81b75c73898613f4dae3066945d0a9042067a.tar.xz craftbukkit-5bb81b75c73898613f4dae3066945d0a9042067a.zip |
Set CraftTravelAgent.DEFAULT to a non-null value. Fixes BUKKIT-3578
Currently, CraftTravelAgent will call s() on the passed-in WorldServer in order to set DEFAULT. However, s() will always return null at this point, because WorldServer.P will still be null, as it is set after the constructor is called. Instead, we set CraftTravelAgent.DEFAULT to the instance that is being constructed.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityHuman.java')
0 files changed, 0 insertions, 0 deletions