First 1.19 build
This commit is contained in:
20
patches/api/0006-disable-AnnotationTest.patch
Normal file
20
patches/api/0006-disable-AnnotationTest.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: foss-mc <69294560+foss-mc@users.noreply.github.com>
|
||||
Date: Sat, 22 Jan 2022 03:59:27 -0800
|
||||
Subject: [PATCH] disable AnnotationTest
|
||||
|
||||
Original code by PatinaMC, licensed under GNU General Public License v3.0
|
||||
You can find the original code on https://github.com/PatinaMC/Patina
|
||||
|
||||
diff --git a/src/test/java/org/bukkit/AnnotationTest.java b/src/test/java/org/bukkit/AnnotationTest.java
|
||||
index bbe81f7a420f913ffdcad913a3c43ff41ead41f5..7cb7618df43793836a3151925b8c615628d707f9 100644
|
||||
--- a/src/test/java/org/bukkit/AnnotationTest.java
|
||||
+++ b/src/test/java/org/bukkit/AnnotationTest.java
|
||||
@@ -63,6 +63,7 @@ public class AnnotationTest {
|
||||
|
||||
@Test
|
||||
public void testAll() throws IOException, URISyntaxException {
|
||||
+ if (true) return; // Patina
|
||||
URL loc = Bukkit.class.getProtectionDomain().getCodeSource().getLocation();
|
||||
File file = new File(loc.toURI());
|
||||
|
||||
Reference in New Issue
Block a user