From 45bbe59c1531ec032691d9a6e48e861c67317890 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 23 Dec 2013 15:43:33 +1100 Subject: [PATCH] Fix missing bitshifts --- CraftBukkit-Patches/0080-Fix-Biome-Decoration-Crashes.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0080-Fix-Biome-Decoration-Crashes.patch b/CraftBukkit-Patches/0080-Fix-Biome-Decoration-Crashes.patch index 5f9cdc7de..5b472c924 100644 --- a/CraftBukkit-Patches/0080-Fix-Biome-Decoration-Crashes.patch +++ b/CraftBukkit-Patches/0080-Fix-Biome-Decoration-Crashes.patch @@ -1,11 +1,11 @@ -From 42c0c04deee81b86249ccbfe8061e5c21595ef3f Mon Sep 17 00:00:00 2001 +From 60f931b9efb9140650ffb140af1dee18f557f8fe Mon Sep 17 00:00:00 2001 From: Dan Mulloy Date: Sun, 22 Dec 2013 18:40:53 -0500 Subject: [PATCH] Fix Biome Decoration Crashes diff --git a/src/main/java/net/minecraft/server/BiomeDecorator.java b/src/main/java/net/minecraft/server/BiomeDecorator.java -index b048d6c..8cfafe6 100644 +index b048d6c..2a5333a 100644 --- a/src/main/java/net/minecraft/server/BiomeDecorator.java +++ b/src/main/java/net/minecraft/server/BiomeDecorator.java @@ -1,5 +1,10 @@ @@ -141,7 +141,7 @@ index b048d6c..8cfafe6 100644 + if ( !this.a.isChunkLoaded( i >> 4, j >> 4 ) ) + { + // If not, load it, then add it to our unload list -+ this.chunksToUnload.add( this.a.getChunkAt( i, j ) ); ++ this.chunksToUnload.add( this.a.getChunkAt( i >> 4, j >> 4 ) ); + } + + return this.a.getHighestBlockYAt( i, j );