diff options
| author | bspkrs <bspkrs@gmail.com> | 2013-12-16 15:35:19 -0500 |
|---|---|---|
| committer | bspkrs <bspkrs@gmail.com> | 2013-12-16 15:35:19 -0500 |
| commit | 84718834dd385f1c548816d2be75970abdc82822 (patch) | |
| tree | fcf279306e23e51f1a61d2f1b4a8a55b013cc098 | |
| parent | 39b407adba0d389ed4e911af477c86a112d94c78 (diff) | |
fixed double message
| -rw-r--r-- | common/darkknight/jewelrycraft/block/BlockMolder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/darkknight/jewelrycraft/block/BlockMolder.java b/common/darkknight/jewelrycraft/block/BlockMolder.java index ac10ca4..5d1f30d 100644 --- a/common/darkknight/jewelrycraft/block/BlockMolder.java +++ b/common/darkknight/jewelrycraft/block/BlockMolder.java @@ -50,7 +50,8 @@ public class BlockMolder extends BlockContainer te.mold = item; te.hasMold = true; --item.stackSize; - entityPlayer.addChatMessage(StatCollector.translateToLocalFormatted("chatmessage.jewelrycraft.molder.addedmold", te.mold.getDisplayName())); + if (world.isRemote) + entityPlayer.addChatMessage(StatCollector.translateToLocalFormatted("chatmessage.jewelrycraft.molder.addedmold", te.mold.getDisplayName())); } if (te.hasMold && entityPlayer.isSneaking()) { |
