High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
CraftBukkit/Spigot d748630f56 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.

By: James Clarke <jamesrtclarke@me.com>
2013-02-05 20:34:02 +00:00
paper-server Set CraftTravelAgent.DEFAULT to a non-null value. Fixes BUKKIT-3578 2013-02-05 20:34:02 +00:00