-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore minecart in activation range (#10359)
- Loading branch information
1 parent
8e75001
commit 241d8e2
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
8 changes: 5 additions & 3 deletions
8
...ver/0036-Always-tick-falling-blocks.patch → ...ies-to-activation-range-ignore-list.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
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] Always tick falling blocks | ||
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 a5da6c1cae0afbde684be250e2fc3c0c32a1265b..e5ff35531a933268f2b8b6c15c234de4482931d5 100644 | ||
index a5da6c1cae0afbde684be250e2fc3c0c32a1265b..6d51464f6368151e8acc532414ee223714584e96 100644 | ||
--- a/src/main/java/org/spigotmc/ActivationRange.java | ||
+++ b/src/main/java/org/spigotmc/ActivationRange.java | ||
@@ -92,6 +92,7 @@ public class ActivationRange | ||
@@ -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.Boat // Paper | ||
|| entity instanceof EndCrystal | ||
|| entity instanceof FireworkRocketEntity | ||
|| entity instanceof ThrownTrident ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters