Fix client-side exceptions
This commit is contained in:
@@ -119,13 +119,13 @@ public class Bot extends EntityPlayer {
|
||||
|
||||
bot.setLocation(loc.getX(), loc.getY(), loc.getZ(), loc.getYaw(), loc.getPitch());
|
||||
bot.getBukkitEntity().setNoDamageTicks(0);
|
||||
bot.renderAll();
|
||||
|
||||
if(mobTargeting)
|
||||
nmsWorld.addPlayerJoin(bot);
|
||||
else
|
||||
nmsWorld.addEntity(bot);
|
||||
|
||||
bot.renderAll();
|
||||
|
||||
TerminatorPlus.getInstance().getManager().add(bot);
|
||||
|
||||
return bot;
|
||||
|
||||
Reference in New Issue
Block a user