Skip to content

Commit

Permalink
Merge branch '1.9' into 1.9.4
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main/java/info/ata4/minecraft/dragon/server/entity/ai/EntityAIDragonCatchOwner.java
  • Loading branch information
ata4 committed Jun 8, 2016
2 parents 46ad9ba + 0d9363a commit cb29a26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public boolean shouldExecute() {
// don't catch if owner has a working Elytra equipped
// note: isBroken() is misleading, it actually checks if the items is usable
ItemStack itemStack = owner.getItemStackFromSlot(EntityEquipmentSlot.CHEST);
if (itemStack.getItem() == Items.ELYTRA && ItemElytra.isBroken(itemStack)) {
if (itemStack != null && itemStack.getItem() == Items.ELYTRA && ItemElytra.isBroken(itemStack)) {
return false;
}

Expand Down

This file was deleted.

0 comments on commit cb29a26

Please sign in to comment.