aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMiniDigger | Martin <[email protected]>2024-01-01 18:07:18 +0100
committerMiniDigger | Martin <[email protected]>2024-01-01 18:07:18 +0100
commit7d1c30bc574043efad8276b5658c6162495637c2 (patch)
tree96cda7a78670dc1a24181d26de20a0cd5eaf13e4
parentbe328f1d29a541697303d33b117cdb95f43a3a50 (diff)
downloadPaper-7d1c30bc574043efad8276b5658c6162495637c2.tar.gz
Paper-7d1c30bc574043efad8276b5658c6162495637c2.zip
revert later, make stuff compile clean
-rw-r--r--build-data/paper.at4
-rw-r--r--patches/sources/net/minecraft/CrashReport.java.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/build-data/paper.at b/build-data/paper.at
index f46d572ac8..ef34ea49dc 100644
--- a/build-data/paper.at
+++ b/build-data/paper.at
@@ -2,8 +2,8 @@ public net.minecraft.nbt.TagParser readArrayTag()Lnet/minecraft/nbt/Tag;
public net.minecraft.world.entity.Display$BlockDisplay getBlockState()Lnet/minecraft/world/level/block/state/BlockState;
public net.minecraft.world.level.dimension.end.EndDragonFight findExitPortal()Lnet/minecraft/world/level/block/state/pattern/BlockPattern$BlockPatternMatch;
public net.minecraft.server.MinecraftServer doRunTask(Lnet/minecraft/server/TickTask;)V
-public+f net.minecraft.CrashReport saveFile
+public net.minecraft.CrashReport saveFile
public+f net.minecraft.CrashReport getDetails()Ljava/lang/String;
-private+f net.minecraft.CrashReport getTitle()Ljava/lang/String;
+public+f net.minecraft.CrashReport getTitle()Ljava/lang/String;
public+f net.minecraft.CrashReport getExceptionMessage()Ljava/lang/String;
public net.minecraft.world.entity.Display$TextDisplay getText()Lnet/minecraft/network/chat/Component;
diff --git a/patches/sources/net/minecraft/CrashReport.java.patch b/patches/sources/net/minecraft/CrashReport.java.patch
index d0d97d45dc..2884b9bcef 100644
--- a/patches/sources/net/minecraft/CrashReport.java.patch
+++ b/patches/sources/net/minecraft/CrashReport.java.patch
@@ -7,7 +7,7 @@
+ // FIXME this.systemReport.setDetail("CraftBukkit Information", new org.bukkit.craftbukkit.CraftCrashReport()); // CraftBukkit
}
- private final String getTitle() {
+ public final String getTitle() {
- return this.title;
+ return this.title; // Test
}