diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/clipboard/CuboidCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/clipboard/CuboidCommand.java index bf600b7c..d0fc8978 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/clipboard/CuboidCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/clipboard/CuboidCommand.java @@ -50,6 +50,6 @@ public class CuboidCommand extends SWCommand { time = System.currentTimeMillis() - time; player.sendMessage("§aEs wurden " + counter.get() + " Cuboids erstellt!"); player.sendMessage("§aDas hat " + time + "ms gedauert!"); - player.sendMessage("§aDas sind " + (counter.get() / time) + " Cuboids/ms!"); + player.sendMessage("§aDas sind " + (counter.get() / Math.max(time, 1)) + " Cuboids/ms!"); } }