diff --git a/src/main/java/dev/micle/totemofreviving/item/StrawTotemItem.java b/src/main/java/dev/micle/totemofreviving/item/StrawTotemItem.java index e88caed..4610cec 100644 --- a/src/main/java/dev/micle/totemofreviving/item/StrawTotemItem.java +++ b/src/main/java/dev/micle/totemofreviving/item/StrawTotemItem.java @@ -89,7 +89,7 @@ public class StrawTotemItem extends Item { @OnlyIn(Dist.CLIENT) @ParametersAreNonnullByDefault public ActionResult use(World world, PlayerEntity playerEntity, Hand hand) { - if (!Config.Server.getStrawTotemConfig().getIsEnabled() || world.isClientSide) { return super.use(world, playerEntity, hand); } + if (!Config.Server.getStrawTotemConfig().getIsEnabled() || !world.isClientSide) { return super.use(world, playerEntity, hand); } ItemStack charge; if (hand.equals(Hand.MAIN_HAND)) { charge = playerEntity.getOffhandItem();