filter EntityXPOrb too

This commit is contained in:
blockparole 2019-11-14 13:39:49 +01:00 committed by GitHub
parent 567bd46958
commit b415bf3684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ public final class ObsidianReplaceModule extends Module {
}
for (Entity entity : mc.world.getEntitiesWithinAABBExcludingEntity(null, new AxisAlignedBB(pos))) {
if (!(entity instanceof EntityItem)) {
if (!(entity instanceof EntityItem) && !(entity instanceof EntityXPOrb)) {
return false;
}
}