This change makes sure that Entity.fromJava (used internally by this library) returns the correct subclass of entity. This will make it possible to use entity instanceof Player for example.
Let's test this out a bit more before we merge it. It might not be the ideal design.
This change makes sure that
Entity.fromJava
(used internally by this library) returns the correct subclass of entity. This will make it possible to useentity instanceof Player
for example.Let's test this out a bit more before we merge it. It might not be the ideal design.