Fix falling sand entities with orebfuscator.

Dieser Commit ist enthalten in:
SuPaH sPii 2013-02-19 18:58:31 -06:00 committet von md_5
Ursprung 55f1b26ae2
Commit 52dc8edc39

Datei anzeigen

@ -1,9 +1,10 @@
From 9431957f1fc3c43421a833933b98259214ccf022 Mon Sep 17 00:00:00 2001
From d5c3b76249048622b80ea5c21114608fbc07126c Mon Sep 17 00:00:00 2001
From: lishid <lishid@gmail.com>
Date: Sat, 16 Feb 2013 10:05:25 +1100
Subject: [PATCH] Add oreobfuscator for Spigot.
---
.../net/minecraft/server/EntityFallingBlock.java | 1 +
src/main/java/net/minecraft/server/Explosion.java | 1 +
.../net/minecraft/server/Packet51MapChunk.java | 1 +
.../net/minecraft/server/Packet56MapChunkBulk.java | 21 +++-
@ -13,9 +14,21 @@ Subject: [PATCH] Add oreobfuscator for Spigot.
.../bukkit/craftbukkit/OrebfuscatorManager.java | 130 +++++++++++++++++++++
src/main/java/org/bukkit/craftbukkit/Spigot.java | 8 ++
src/main/resources/configurations/bukkit.yml | 6 +
9 files changed, 181 insertions(+), 1 deletion(-)
10 files changed, 182 insertions(+), 1 deletion(-)
create mode 100644 src/main/java/org/bukkit/craftbukkit/OrebfuscatorManager.java
diff --git a/src/main/java/net/minecraft/server/EntityFallingBlock.java b/src/main/java/net/minecraft/server/EntityFallingBlock.java
index ea440dc..e86b10f 100644
--- a/src/main/java/net/minecraft/server/EntityFallingBlock.java
+++ b/src/main/java/net/minecraft/server/EntityFallingBlock.java
@@ -103,6 +103,7 @@ public class EntityFallingBlock extends Entity {
// CraftBukkit end
this.world.setTypeId(i, j, k, 0);
+ org.bukkit.craftbukkit.OrebfuscatorManager.updateNearbyBlocks(world, i, j, k); // Spigot (Orebfuscator)
}
if (this.onGround) {
diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java
index ba2f88f..8d5b1d8 100644
--- a/src/main/java/net/minecraft/server/Explosion.java
@ -325,5 +338,5 @@ index 9d6d613..3228d17 100644
+ disabled-worlds:
+ - world_the_end
--
1.8.1-rc2
1.7.11.msysgit.1