PaperMC/CraftBukkit-Patches/0178-Fix-a-missed-rename-in-WorldGenGroundBush.patch

20 lines
1,002 B
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Thinkofdeath <thinkofdeath@spigotmc.org>
Date: Sat, 30 Aug 2014 18:36:32 +0100
Subject: [PATCH] Fix a missed rename in WorldGenGroundBush
diff --git a/src/main/java/net/minecraft/server/WorldGenGroundBush.java b/src/main/java/net/minecraft/server/WorldGenGroundBush.java
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/net/minecraft/server/WorldGenGroundBush.java
+++ b/src/main/java/net/minecraft/server/WorldGenGroundBush.java
@@ -0,0 +0,0 @@ public class WorldGenGroundBush extends WorldGenTrees {
this.a = j;
}
- public boolean a(World world, Random random, int i, int j, int k) {
+ public boolean generate(World world, Random random, int i, int j, int k) { // Spigot
Block block;
while (((block = world.getType(i, j, k)).getMaterial() == Material.AIR || block.getMaterial() == Material.LEAVES) && j > 0) {
--