mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
17 lines
808 B
Diff
17 lines
808 B
Diff
--- a/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.patch
|
|
+++ b/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.patch
|
|
@@ -0,0 +0,0 @@
|
|
--- a/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.java
|
|
+++ b/net/minecraft/world/entity/ai/behavior/BehaviorWorkComposter.java
|
|
-@@ -0,0 +0,0 @@
|
|
- 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()) {
|
|
@@ -0,0 +0,0 @@
|
|
BlockPosition blockposition = globalpos.getBlockPosition();
|
|
|