summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockFlowing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockFlowing.patch')
-rw-r--r--nms-patches/BlockFlowing.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockFlowing.patch b/nms-patches/BlockFlowing.patch
index b2a52197..4651b55e 100644
--- a/nms-patches/BlockFlowing.patch
+++ b/nms-patches/BlockFlowing.patch
@@ -69,6 +69,6 @@
private void flow(World world, BlockPosition blockposition, IBlockData iblockdata, int i) {
- if (this.h(world, blockposition, iblockdata)) {
+ if (world.isLoaded(blockposition) && this.h(world, blockposition, iblockdata)) { // CraftBukkit - add isLoaded check
- if (iblockdata.getBlock() != Blocks.AIR) {
+ if (iblockdata.getMaterial() != Material.AIR) {
if (this.material == Material.LAVA) {
this.fizz(world, blockposition);