mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-15 07:01:36 +08:00
cab333b217
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
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
|
|
|