58 lines
2.2 KiB
Diff
58 lines
2.2 KiB
Diff
From 168fdae3cde0d895e3ac002c11c988c09069a28b Mon Sep 17 00:00:00 2001
|
|
From: Zach Brown <zach.brown@destroystokyo.com>
|
|
Date: Wed, 2 Mar 2016 00:32:25 -0600
|
|
Subject: [PATCH] Always tick falling blocks
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java
|
|
index d88f1b1..97fbd95 100644
|
|
--- a/src/main/java/org/spigotmc/ActivationRange.java
|
|
+++ b/src/main/java/org/spigotmc/ActivationRange.java
|
|
@@ -2,33 +2,8 @@ package org.spigotmc;
|
|
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
-import net.minecraft.server.AxisAlignedBB;
|
|
-import net.minecraft.server.Chunk;
|
|
-import net.minecraft.server.Entity;
|
|
-import net.minecraft.server.EntityAmbient;
|
|
-import net.minecraft.server.EntityAnimal;
|
|
-import net.minecraft.server.EntityArrow;
|
|
-import net.minecraft.server.EntityComplexPart;
|
|
-import net.minecraft.server.EntityCreature;
|
|
-import net.minecraft.server.EntityCreeper;
|
|
-import net.minecraft.server.EntityEnderCrystal;
|
|
-import net.minecraft.server.EntityEnderDragon;
|
|
-import net.minecraft.server.EntityFireball;
|
|
-import net.minecraft.server.EntityFireworks;
|
|
-import net.minecraft.server.EntityHuman;
|
|
-import net.minecraft.server.EntityLiving;
|
|
-import net.minecraft.server.EntityMonster;
|
|
-import net.minecraft.server.EntityProjectile;
|
|
-import net.minecraft.server.EntitySheep;
|
|
-import net.minecraft.server.EntitySlice;
|
|
-import net.minecraft.server.EntitySlime;
|
|
-import net.minecraft.server.EntityTNTPrimed;
|
|
-import net.minecraft.server.EntityVillager;
|
|
-import net.minecraft.server.EntityWeather;
|
|
-import net.minecraft.server.EntityWither;
|
|
-import net.minecraft.server.MathHelper;
|
|
-import net.minecraft.server.MinecraftServer;
|
|
-import net.minecraft.server.World;
|
|
+
|
|
+import net.minecraft.server.*;
|
|
import org.bukkit.craftbukkit.SpigotTimings;
|
|
|
|
public class ActivationRange
|
|
@@ -80,6 +55,7 @@ public class ActivationRange
|
|
|| entity instanceof EntityFireball
|
|
|| entity instanceof EntityWeather
|
|
|| entity instanceof EntityTNTPrimed
|
|
+ || entity instanceof EntityFallingBlock // Paper - Always tick falling blocks
|
|
|| entity instanceof EntityEnderCrystal
|
|
|| entity instanceof EntityFireworks )
|
|
{
|
|
--
|
|
2.7.2
|
|
|