From 007e6fe8d0cbad56065aee576f0facaab39d9c31 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 16 Feb 2019 21:35:55 +0100 Subject: [PATCH] actually invert this --- .../naturesaura/api/aura/container/BasicAuraContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/naturesaura/api/aura/container/BasicAuraContainer.java b/src/main/java/de/ellpeck/naturesaura/api/aura/container/BasicAuraContainer.java index 8abea1c0..c0fb713b 100644 --- a/src/main/java/de/ellpeck/naturesaura/api/aura/container/BasicAuraContainer.java +++ b/src/main/java/de/ellpeck/naturesaura/api/aura/container/BasicAuraContainer.java @@ -49,7 +49,7 @@ public class BasicAuraContainer implements IAuraContainer { @Override public boolean isAcceptableType(IAuraType type) { - return this.type == null || this.type.isSimilar(type); + return this.type == null || type.isSimilar(this.type); } public void writeNBT(NBTTagCompound compound) {