diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/util/RandomSourceWrapper.java b/paper-server/src/main/java/org/bukkit/craftbukkit/util/RandomSourceWrapper.java index b8c700fe60..a54aa72e0a 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/util/RandomSourceWrapper.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/util/RandomSourceWrapper.java @@ -72,7 +72,9 @@ public final class RandomSourceWrapper implements RandomSource { @Override public void setSeed(long l) { - random.setSeed(l); + if (random != null) { + random.setSeed(l); + } } @Override