mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 13:36:16 +01:00
18 lines
813 B
Diff
18 lines
813 B
Diff
--- a/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.patch
|
|
+++ b/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.patch
|
|
@@ -1,14 +1,5 @@
|
|
--- a/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.java
|
|
+++ b/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.java
|
|
-@@ -23,7 +23,7 @@
|
|
- public BehaviorWorkComposter() {}
|
|
-
|
|
- @Override
|
|
-- protected void a(WorldServer worldserver, EntityVillager entityvillager) {
|
|
-+ protected void doWork(WorldServer worldserver, EntityVillager entityvillager) { // PAIL
|
|
- Optional<GlobalPos> optional = entityvillager.getBehaviorController().getMemory(MemoryModuleType.JOB_SITE);
|
|
-
|
|
- if (optional.isPresent()) {
|
|
@@ -42,7 +42,7 @@
|
|
BlockPosition blockposition = globalpos.getBlockPosition();
|
|
|