Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-16 19:40:07 +01:00
ef0e5a642d
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 9ae3f10f SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API 48c0c547 PR-786: Add methods to get sounds from entities CraftBukkit Changes: 5cc9c022a SPIGOT-7152: Handle hand item changing during air interact event 4ffa1acf6 SPIGOT-7154: Players get kicked when interacting with a conversation 4daa21123 SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API e5d6a9bbf PR-1100: Add methods to get sounds from entities b7e9f1c8b SPIGOT-7146: Reduce use of Material switch in ItemMeta Spigot Changes: 4c157bb4 Rebuild patches
25 Zeilen
1.1 KiB
Diff
25 Zeilen
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Mariell Hoversholm <proximyst@proximyst.com>
|
|
Date: Mon, 2 Aug 2021 08:52:21 +0200
|
|
Subject: [PATCH] Fix test not bootstrapping
|
|
|
|
Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>
|
|
|
|
diff --git a/src/test/java/org/bukkit/enchantments/EnchantmentTargetTest.java b/src/test/java/org/bukkit/enchantments/EnchantmentTargetTest.java
|
|
index 19777eaca02640f220626940f5384563777dd74a..9873addca9e7a2a7eaa30a1c1cd332260ca07b35 100644
|
|
--- a/src/test/java/org/bukkit/enchantments/EnchantmentTargetTest.java
|
|
+++ b/src/test/java/org/bukkit/enchantments/EnchantmentTargetTest.java
|
|
@@ -5,10 +5,11 @@ import net.minecraft.world.item.Item;
|
|
import net.minecraft.world.item.enchantment.EnchantmentCategory;
|
|
import org.bukkit.Material;
|
|
import org.bukkit.craftbukkit.util.CraftMagicNumbers;
|
|
+import org.bukkit.support.AbstractTestingBase;
|
|
import org.junit.Assert;
|
|
import org.junit.Test;
|
|
|
|
-public class EnchantmentTargetTest {
|
|
+public class EnchantmentTargetTest extends AbstractTestingBase { // Paper
|
|
|
|
@Test
|
|
public void test() {
|