Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Euphillya committed Oct 5, 2023
1 parent f861ff8 commit 88402f3
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Bierque Jason <bierquejason@gmail.com>
Date: Thu, 5 Oct 2023 10:40:19 +0200
Subject: [PATCH] Fix Paper
https://github.com/PaperMC/Paper/commit/cfe311d7a51eeb9e14c526f57efab9837f30c5d0


diff --git a/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3568.java b/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3568.java
index 98272d556a09e9f035005c6783ebb229c2c7157d..f84cc7fdfeba918164578ae5c74f6b697bf2dd69 100644
--- a/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3568.java
+++ b/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3568.java
@@ -200,6 +200,11 @@ public final class V3568 {
final String id = root.getString("id");

final MapType<String> tag = root.getMap("tag");
+ // TenseiMC start - Fix Paper cfe311d7a51eeb9e14c526f57efab9837f30c5d0
+ if (tag == null) {
+ return null;
+ }
+ // TenseiMC end

if ("minecraft:suspicious_stew".equals(id)) {
RenameHelper.renameSingle(tag, "Effects", "effects");

0 comments on commit 88402f3

Please sign in to comment.