diff --git a/src/main/java/dev/dubhe/gugle/carpet/mixin/WanderingTraderMixin.java b/src/main/java/dev/dubhe/gugle/carpet/mixin/WanderingTraderMixin.java index c1aab53..87610c8 100644 --- a/src/main/java/dev/dubhe/gugle/carpet/mixin/WanderingTraderMixin.java +++ b/src/main/java/dev/dubhe/gugle/carpet/mixin/WanderingTraderMixin.java @@ -39,7 +39,7 @@ private void spawn(@NotNull ServerLevel serverLevel, boolean bl, boolean bl2, Ca private int spawn0(@NotNull RandomSource instance, int i) { int result = instance.nextInt(i); if (result > this.spawnChance) { - this.gca$sendMsg("Probability not met, expected i > %s, but obtained %s".formatted(this.spawnChance, result)); + this.gca$sendMsg("Probability not met, expected i <= %s, but obtained %s".formatted(this.spawnChance, result)); } return result; } @@ -48,7 +48,7 @@ private int spawn0(@NotNull RandomSource instance, int i) { private int spawn1(@NotNull RandomSource instance, int i) { int result = instance.nextInt(i); if (result != 0) { - this.gca$sendMsg("Probability not met, expected i != 0, but obtained %s".formatted(result)); + this.gca$sendMsg("Probability not met, expected i == 0, but obtained %s".formatted(result)); } return result; }