Fixed issue with Herobrine despawning and respawning not working properly.
This commit is contained in:
parent
ef619088a7
commit
42469f1710
@ -79,7 +79,7 @@ public class HumanNPC {
|
|||||||
|
|
||||||
public void removeFromWorld() {
|
public void removeFromWorld() {
|
||||||
try {
|
try {
|
||||||
entity.getLevel().getChunkProvider().removeEntity(entity);
|
entity.getBukkitEntity().remove();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user