yeah, that's needed for the Spout protocol too. Not entirely sure how I
want that to work, but I've been experimenting with it a bit. If you come
across a good solution, feel free to implement it in Spout.


On Thu, Feb 14, 2013 at 3:47 PM, Karang <notifications@github.com> wrote:

> In
> src/main/java/org/spout/vanilla/plugin/protocol/handler/entity/pos/EntityTeleportHandler.java:
>
> > @@ -45,7 +45,7 @@ public void handleClient(Session session, EntityTeleportMessage message) {
> >  		
> >  		Player player = session.getPlayer();
> >  		World world = player.getWorld();
> > -		Entity entity = world.getEntity(message.getEntityId());
> > +		Entity entity = session.getPlayer();//world.getEntity(message.getEntityId());
>
> true but we need to add a way to set an id to an entity because this is
> getting a NPE
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Vanilla/Vanilla/pull/589/files#r3022540>.
>
>