Skip to content

Commit b62945a

Browse files
authored
comment out test starting items (#309)
1 parent 792cf11 commit b62945a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/postInit/minecraft.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ mods.minecraft.player.addStartingItem(item('minecraft:water_bucket'))
211211
mods.minecraft.player.setStartingItems(true, item('minecraft:clay').withNbt([display:[Name:'Hotbar']]), null, null, null, null, null, null, null, null, item('minecraft:clay').withNbt([display:[Name:'Top row of inventory']]), null, null, null, null, null, null, null, null, item('minecraft:clay').withNbt([display:[Name:'Middle row of inventory']]), null, null, null, null, null, null, null, null, item('minecraft:clay').withNbt([display:[Name:'Bottom row of inventory']]), null, null, null, null, null, null, null, null, item('minecraft:diamond_boots'), item('minecraft:diamond_leggings'), item('minecraft:diamond_chestplate'), item('minecraft:diamond_helmet'), item('minecraft:clay').withNbt([display:[Name:'Offhand']]))
212212

213213
mods.minecraft.player.setReplaceDefaultInventory(true)
214-
mods.minecraft.player.setTestStartingItems(true)
214+
// mods.minecraft.player.setTestStartingItems(true)
215215

216216
// Rarity:
217217
// Control the rarity of the item, which typically is the name color, to any standard Rarity or any TextFormatting code.

src/main/java/com/cleanroommc/groovyscript/compat/vanilla/Player.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void setStartingItems(boolean isSlotSpecific, List<ItemStack> items) {
114114
}
115115
}
116116

117-
@MethodDescription(type = MethodDescription.Type.VALUE, example = @Example("true"))
117+
@MethodDescription(type = MethodDescription.Type.VALUE, example = @Example(value = "true", commented = true))
118118
public void setTestStartingItems(boolean value) {
119119
testingStartingItems = value;
120120
}

0 commit comments

Comments
 (0)