more more more more more more more more more more more work: passing the torch

This commit is contained in:
Noah van der Aa 2023-09-22 17:51:48 +02:00 committed by MiniDigger | Martin
parent 63a1b0c137
commit f4d8a64094

View file

@ -4,20 +4,6 @@ Date: Thu, 23 Jun 2022 19:25:51 -0700
Subject: [PATCH] Track projectile source for fireworks from dispensers
diff --git a/build.gradle.kts b/build.gradle.kts
index 26618ddf85952694ae2c78f41a19e4b9a324f059..2ed1851b9594a6a53168c594fc08f4f8ade2cacd 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -26,7 +26,8 @@ dependencies {
all its classes to check if they are plugins.
Scanning takes about 1-2 seconds so adding this speeds up the server start.
*/
- implementation("org.apache.logging.log4j:log4j-core:2.19.0") // Paper - implementation
+ implementation("org.apache.logging.log4j:log4j-core:2.19.0")
+ implementation(project(mapOf("path" to ":paper-api"))) // Paper - implementation
log4jPlugins.annotationProcessorConfigurationName("org.apache.logging.log4j:log4j-core:2.19.0") // Paper - Needed to generate meta for our Log4j plugins
runtimeOnly(log4jPlugins.output)
alsoShade(log4jPlugins.output)
diff --git a/src/main/java/net/minecraft/core/dispenser/DispenseItemBehavior.java b/src/main/java/net/minecraft/core/dispenser/DispenseItemBehavior.java
index e9db6b5096e7368b4a32a0e86eebccac15ab443b..f9ab6d4f6e7f430d41b79227e74136a3e980f340 100644
--- a/src/main/java/net/minecraft/core/dispenser/DispenseItemBehavior.java