mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
fix: Update paperweight mcdev and fix CraftBukkit patch
This commit is contained in:
parent
cabbb6de8d
commit
4ee49ddf71
3 changed files with 19 additions and 2 deletions
|
@ -0,0 +1,17 @@
|
|||
--- 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();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
java
|
||||
id("com.github.johnrengelman.shadow") version "7.0.0" apply false
|
||||
id("io.papermc.paperweight.core") version "1.0.0-LOCAL-SNAPSHOT"
|
||||
id("io.papermc.paperweight.core") version "1.0.0-SNAPSHOT"
|
||||
}
|
||||
|
||||
group = "io.papermc.paper"
|
||||
|
@ -81,5 +81,6 @@ paperweight {
|
|||
mappingsPatch.set(file("build-data/mappings-patch.tiny"))
|
||||
|
||||
additionalSpigotMemberMappings.set(file("build-data/additional-spigot-member-mappings.csrg"))
|
||||
craftBukkitPatchPatchesDir.set(file("build-data/craftbukkit-patch-patches"))
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
gradlePluginPortal()
|
||||
maven("https://wav.jfrog.io/artifactory/repo/")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue