mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Generic code cleanup
This commit is contained in:
1 parent
332d9c4f18
commit
09aa37fe4a
57 files changed
+415
-344
No files matched your search
@@ -2,9 +2,8 @@ package net.minecraft.server;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
// CraftBukkit start
|
||||
// CraftBukkit
|
||||
import org.bukkit.BlockChangeDelegate;
|
||||
// CraftBukkit end
|
||||
|
||||
public class WorldGenForest extends WorldGenerator {
|
||||
|
||||
@@ -16,7 +15,7 @@ public class WorldGenForest extends WorldGenerator {
|
||||
// BlockChangeDelegate and then we can implicitly cast World to
|
||||
// WorldServer (a safe cast, AFAIK) and no code will be broken. This
|
||||
// then allows plugins to catch manually-invoked generation events
|
||||
return generate((BlockChangeDelegate)world, random, i, j, k);
|
||||
return generate((BlockChangeDelegate) world, random, i, j, k);
|
||||
}
|
||||
|
||||
public boolean generate(BlockChangeDelegate world, Random random, int i, int j, int k) {
|
||||
|
||||
Reference in new issue
Block a user