PaperMC/paper-server/nms-patches/net/minecraft/world/entity/monster/EntityGuardian.patch
CraftBukkit/Spigot bfc74e8628 SPIGOT-6545: Unable to set Guardian target via API while awareness is disabled
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:36:54 +10:00

11 lines
349 B
Diff

--- a/net/minecraft/world/entity/monster/EntityGuardian.java
+++ b/net/minecraft/world/entity/monster/EntityGuardian.java
@@ -123,7 +123,7 @@
return 80;
}
- void a(int i) {
+ public void a(int i) { // PAIL package -> public, rename setLaserTarget
this.entityData.set(EntityGuardian.DATA_ID_ATTACK_TARGET, i);
}