Skip to content

Commit 3e40d6d

Browse files
committed
fix: formatting
1 parent 4be6a5b commit 3e40d6d

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/paper/dev/api

1 file changed

+1
-1
lines changed

src/content/docs/paper/dev/api/pdc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pdc.set(key, PersistentDataType.STRING, "I love Tacos!");
5050
```java
5151
NamespacedKey key = ...; // Retrieve the key from before
5252

53-
// For 1.20.4 and below, use new ItemStack(Material.DIAMOND) instead
53+
// For 1.20.4 and below, use 'new ItemStack(Material.DIAMOND)' instead
5454
ItemStack item = ItemType.DIAMOND.createItemStack();
5555
// ItemStack provides a util method, so we can directly edit its PDC
5656
item.editPersistentDataContainer(pdc -> {

0 commit comments

Comments
 (0)