Skip to content

Commit

Permalink
Merge pull request #1007 from jpenilla/patch-1
Browse files Browse the repository at this point in the history
Fix StorageNBTComponentTest
  • Loading branch information
zml2008 authored Dec 12, 2023
2 parents ec7b524 + b466535 commit db2b7c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ void testWithoutInterpret() {
@Test
void testWithInterpret() {
this.testObject(
Component.storageNBT().nbtPath("abc").storage(Key.key("doom:apple")).build(),
Component.storageNBT().nbtPath("abc").storage(Key.key("doom:apple")).interpret(true).build(),
json -> {
json.addProperty(JSONComponentConstants.NBT, "abc");
json.addProperty(JSONComponentConstants.NBT_INTERPRET, false);
json.addProperty(JSONComponentConstants.NBT_INTERPRET, true);
json.addProperty(JSONComponentConstants.NBT_STORAGE, "doom:apple");
}
);
Expand Down

0 comments on commit db2b7c0

Please sign in to comment.