mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
Update docs and bump test suite to 1.20.1
This commit is contained in:
@@ -307,7 +307,7 @@ huskSyncAPI.editCurrentInventory(user, inventory -> {
|
|||||||
// Get the player's inventory contents
|
// Get the player's inventory contents
|
||||||
ItemStack[] inventoryContents = ((BukkitData.Items.Inventory) inventory).getContents();
|
ItemStack[] inventoryContents = ((BukkitData.Items.Inventory) inventory).getContents();
|
||||||
|
|
||||||
// The array of ItemStacks is a copy of the player's inventory contents (in 1.20.1, this is an array of length 42)
|
// The array of ItemStacks is a copy of the player's inventory contents (Typically an array of length 42)
|
||||||
inventoryContents[0] = new ItemStack(Material.DIAMOND_SWORD);
|
inventoryContents[0] = new ItemStack(Material.DIAMOND_SWORD);
|
||||||
inventoryContents[1] = null; // null = an empty slot
|
inventoryContents[1] = null; // null = an empty slot
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ The name of the generated .json file will match the following format: `<username
|
|||||||
"pinned": false,
|
"pinned": false,
|
||||||
"timestamp": "2023-09-15T17:27:08.6768038+01:00",
|
"timestamp": "2023-09-15T17:27:08.6768038+01:00",
|
||||||
"save_cause": "DISCONNECT",
|
"save_cause": "DISCONNECT",
|
||||||
"minecraft_version": "1.20.1",
|
"server": "alpha",
|
||||||
|
"minecraft_version": "1.20.2",
|
||||||
"platform_type": "bukkit",
|
"platform_type": "bukkit",
|
||||||
"format_version": 4,
|
"format_version": 4,
|
||||||
"data": {
|
"data": {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ from tqdm import tqdm
|
|||||||
class Parameters:
|
class Parameters:
|
||||||
root_dir = './servers/'
|
root_dir = './servers/'
|
||||||
proxy_version = "1.20"
|
proxy_version = "1.20"
|
||||||
minecraft_version = '1.20.1'
|
minecraft_version = '1.20.2'
|
||||||
eula_agreement = 'true'
|
eula_agreement = 'true'
|
||||||
|
|
||||||
backend_names = ['alpha', 'beta']
|
backend_names = ['alpha', 'beta']
|
||||||
|
|||||||
Reference in New Issue
Block a user