Fix event for unlucky composts

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-07-01 09:36:38 +10:00
parent 29e9b2396b
commit 13405b5ce1
2 changed files with 27 additions and 9 deletions

View File

@@ -2,7 +2,6 @@ package org.bukkit.craftbukkit.util;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ThreadLocalRandom;
import java.util.function.Predicate;
import net.minecraft.server.AxisAlignedBB;
import net.minecraft.server.BiomeBase;
@@ -71,7 +70,7 @@ public class DummyGeneratorAccess implements GeneratorAccess {
@Override
public Random getRandom() {
return ThreadLocalRandom.current();
throw new UnsupportedOperationException("Not supported yet.");
}
@Override