mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 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] Add more entities to activation range ignore list
|
|
|
|
|
|
diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java
|
|
index 0338ceaddc1a0921f5f8796d5eac75c301bafac2..3184090cfa1ce6ec01686a7651be01cff49f5951 100644
|
|
--- a/src/main/java/org/spigotmc/ActivationRange.java
|
|
+++ b/src/main/java/org/spigotmc/ActivationRange.java
|
|
@@ -92,6 +92,9 @@ public class ActivationRange
|
|
|| entity instanceof AbstractHurtingProjectile
|
|
|| entity instanceof LightningBolt
|
|
|| entity instanceof PrimedTnt
|
|
+ || entity instanceof net.minecraft.world.entity.item.FallingBlockEntity // Paper - Always tick falling blocks
|
|
+ || entity instanceof net.minecraft.world.entity.vehicle.AbstractMinecart // Paper
|
|
+ || entity instanceof net.minecraft.world.entity.vehicle.AbstractBoat // Paper
|
|
|| entity instanceof EndCrystal
|
|
|| entity instanceof FireworkRocketEntity
|
|
|| entity instanceof ThrownTrident )
|