PaperMC/CraftBukkit-Patches/0178-Fix-a-missed-rename-in-WorldGenGroundBush.patch
Zach Brown a0e810eaf9 Rebase (Update) from upstream SpigotMC
Don't send requests of every player was found in the global api cache SpigotMC/Spigot@841270ff1e
Correctly set the response code for the cached lookups and return the ... SpigotMC/Spigot@f170b7899c
Don't try and re-set the global api cache on reload SpigotMC/Spigot@b410a00a66
Use a compile time sneaky throw hack. SpigotMC/Spigot@508462b96b
Fix a missed rename in WorldGenGroundBush SpigotMC/Spigot@0614d8fae9
2014-08-31 13:56:05 -05:00

20 lines
No EOL
1,002 B
Diff

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) {
--