Skip to content

Commit

Permalink
Fix using wrong side for getting capability
Browse files Browse the repository at this point in the history
  • Loading branch information
pupnewfster committed Aug 4, 2019
1 parent c2910fc commit 9c76c68
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -281,7 +281,7 @@ public <T> T getCapability(@Nonnull Capability<T> capability, EnumFacing side) {
} else if (capability == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) {
return CapabilityItemHandler.ITEM_HANDLER_CAPABILITY.cast(getItemHandler(side));
}
return super.getCapability(capability, facing);
return super.getCapability(capability, side);
}

protected IItemHandler getItemHandler(EnumFacing side) {
Expand Down

0 comments on commit 9c76c68

Please sign in to comment.