mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Test fix attempt two
This commit is contained in:
parent
a315d04b35
commit
80ac3f3d08
1 changed files with 1 additions and 4 deletions
|
@ -35,10 +35,7 @@ import org.cloudburstmc.protocol.bedrock.data.defintions.SimpleItemDefinition;
|
||||||
import org.geysermc.geyser.api.item.custom.CustomItemOptions;
|
import org.geysermc.geyser.api.item.custom.CustomItemOptions;
|
||||||
import org.geysermc.geyser.api.util.TriState;
|
import org.geysermc.geyser.api.util.TriState;
|
||||||
import org.geysermc.geyser.item.GeyserCustomItemOptions;
|
import org.geysermc.geyser.item.GeyserCustomItemOptions;
|
||||||
import org.geysermc.geyser.item.Items;
|
|
||||||
import org.geysermc.geyser.item.components.ToolTier;
|
|
||||||
import org.geysermc.geyser.item.type.Item;
|
import org.geysermc.geyser.item.type.Item;
|
||||||
import org.geysermc.geyser.item.type.TieredItem;
|
|
||||||
import org.geysermc.geyser.registry.type.ItemMapping;
|
import org.geysermc.geyser.registry.type.ItemMapping;
|
||||||
import org.junit.jupiter.api.Assertions;
|
import org.junit.jupiter.api.Assertions;
|
||||||
import org.junit.jupiter.api.BeforeAll;
|
import org.junit.jupiter.api.BeforeAll;
|
||||||
|
@ -123,7 +120,7 @@ public class CustomItemsTest {
|
||||||
|
|
||||||
testMappingWithDamage = ItemMapping.builder()
|
testMappingWithDamage = ItemMapping.builder()
|
||||||
.customItemOptions(customItemOptions)
|
.customItemOptions(customItemOptions)
|
||||||
.javaItem(new TieredItem("wooden_pickaxe", ToolTier.WOODEN, builder().stackSize(1).maxDamage(59)))
|
.javaItem(new Item("wooden_pickaxe", builder().stackSize(1).maxDamage(59)))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Test differences with items with no max damage
|
// Test differences with items with no max damage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue