mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 18:07:39 +01:00
23 lines
947 B
Diff
23 lines
947 B
Diff
|
From c1a6ff4fb1973247241d1f71a71150c8099ecf17 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 ea8fdb5..1a82656 100644
|
||
|
--- a/src/main/java/net/minecraft/server/WorldGenGroundBush.java
|
||
|
+++ b/src/main/java/net/minecraft/server/WorldGenGroundBush.java
|
||
|
@@ -13,7 +13,7 @@ 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) {
|
||
|
--
|
||
|
1.9.1
|
||
|
|