diff --git a/common/src/main/java/dev/ithundxr/createnumismatics/content/backend/BankAccount.java b/common/src/main/java/dev/ithundxr/createnumismatics/content/backend/BankAccount.java index 5783169..03145c6 100644 --- a/common/src/main/java/dev/ithundxr/createnumismatics/content/backend/BankAccount.java +++ b/common/src/main/java/dev/ithundxr/createnumismatics/content/backend/BankAccount.java @@ -387,7 +387,9 @@ public void sendSubAccountsOnlyToMenu(FriendlyByteBuf buf) { SubAccount subAccount = subAccounts.remove(subAccountID); subAccount.setRemoved(); - NumismaticsPackets.PACKETS.sendTo(PlayerSelection.all(), BankAccountLabelPacket.remove(subAccount)); + + if (!clientSide) + NumismaticsPackets.PACKETS.sendTo(PlayerSelection.all(), BankAccountLabelPacket.remove(subAccount)); markDirty(); return subAccount; } diff --git a/common/src/main/java/dev/ithundxr/createnumismatics/content/salepoint/states/FluidSalepointState.java b/common/src/main/java/dev/ithundxr/createnumismatics/content/salepoint/states/FluidSalepointState.java index 4f55ff5..47c2d46 100644 --- a/common/src/main/java/dev/ithundxr/createnumismatics/content/salepoint/states/FluidSalepointState.java +++ b/common/src/main/java/dev/ithundxr/createnumismatics/content/salepoint/states/FluidSalepointState.java @@ -225,6 +225,7 @@ public void createConfigWidgets(WidgetConsumer widgetConsumer) { } @Override + @Environment(EnvType.CLIENT) public void createPurchaseWidgets(WidgetConsumer widgetConsumer) { widgetConsumer.addRenderableWidget(new SalepointFluidDisplayWidget(68, 55, this)); }