Merge the ender pearl fix in

This commit is contained in:
Sam 2018-05-11 12:52:42 +01:00 committed by Alexander Meech
parent 47bc72fff0
commit 22a36c6174
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class EnderPearlModule extends Module
{
Projectile entity = event.getEntity();
if (!(entity instanceof EnderPearl) || !(entity.getShooter() instanceof Player))
if (!getGame().IsLive() || !(entity instanceof EnderPearl) || !(entity.getShooter() instanceof Player))
{
return;
}