From 53c3ec7dad29313892567d74d82ed3327afa2eb1 Mon Sep 17 00:00:00 2001 From: tiera3 <87589219+tiera3@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:27:54 +1000 Subject: [PATCH] Fixed error Found error - had failed to change one of the classnames from my test version to xmage version. Also made nextWidth private. (No need for it to be public.) --- Mage/src/main/java/mage/collation/Rotater.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/collation/Rotater.java b/Mage/src/main/java/mage/collation/Rotater.java index 67242631909..e56d1875dcb 100644 --- a/Mage/src/main/java/mage/collation/Rotater.java +++ b/Mage/src/main/java/mage/collation/Rotater.java @@ -38,7 +38,7 @@ public class Rotater { } // for striped collation - public Main(int sLen, String... items) { + public Rotater(int sLen, String... items) { // should there be an error check? // assert ( items.size() % sLen ) == 0; this.stripeLen = sLen; @@ -50,7 +50,7 @@ public class Rotater { // choose a stripe width between 2 & 5 inclusive // ToDo when data available: enable different widths to have different likelihoods - public int nextWidth() { + private int nextWidth() { return 2+ RandomUtil.nextInt(4); }