Fixed typo in API documentation

This commit is contained in:
Intelli 2023-07-28 15:42:40 -06:00
parent 7fd50a0507
commit a46deeb6ba
3 changed files with 19 additions and 19 deletions

View File

@ -203,7 +203,7 @@ This will parse results from a lookup. You'll then be able to view the following
* **getZ():** Get the Z coordinate of the block. * **getZ():** Get the Z coordinate of the block.
* **getType():** Get the Material of the block. * **getType():** Get the Material of the block.
* **getBlockData():** Get the BlockData of the block. * **getBlockData():** Get the BlockData of the block.
* **getPlayer():** Get the username as a string.. * **getPlayer():** Get the username as a string.
* **getTimestamp():** Get the time of the action. * **getTimestamp():** Get the time of the action.
* **getActionId():** Get the action ID. (0=removed, 1=placed, 2=interaction) * **getActionId():** Get the action ID. (0=removed, 1=placed, 2=interaction)
* **getActionString():** Get the action as a string. (Removal, Placement, Interaction) * **getActionString():** Get the action as a string. (Removal, Placement, Interaction)
@ -296,7 +296,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = parseResult.getX(); int x = parseResult.getX();
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
//... // ...
} }
} }
} }
@ -316,7 +316,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -335,7 +335,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -358,7 +358,7 @@ public void run() {
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -396,7 +396,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = parseResult.getX(); int x = parseResult.getX();
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
//... // ...
} }
} }
} }

View File

@ -203,7 +203,7 @@ This will parse results from a lookup. You'll then be able to view the following
* **getZ():** Get the Z coordinate of the block. * **getZ():** Get the Z coordinate of the block.
* **getType():** Get the Material of the block. * **getType():** Get the Material of the block.
* **getBlockData():** Get the BlockData of the block. * **getBlockData():** Get the BlockData of the block.
* **getPlayer():** Get the username as a string.. * **getPlayer():** Get the username as a string.
* **getTimestamp():** Get the time of the action. * **getTimestamp():** Get the time of the action.
* **getActionId():** Get the action ID. (0=removed, 1=placed, 2=interaction) * **getActionId():** Get the action ID. (0=removed, 1=placed, 2=interaction)
* **getActionString():** Get the action as a string. (Removal, Placement, Interaction) * **getActionString():** Get the action as a string. (Removal, Placement, Interaction)
@ -296,7 +296,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = parseResult.getX(); int x = parseResult.getX();
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
//... // ...
} }
} }
} }
@ -316,7 +316,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -335,7 +335,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -358,7 +358,7 @@ public void run() {
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -396,7 +396,7 @@ if (CoreProtect!=null){ //Ensure we have access to the API
int x = parseResult.getX(); int x = parseResult.getX();
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
//... // ...
} }
} }
} }

View File

@ -225,7 +225,7 @@ This will parse results from a lookup. You'll then be able to view the following
* **getZ():** Get the Z coordinate of the block. * **getZ():** Get the Z coordinate of the block.
* **getType():** Get the Material of the block. * **getType():** Get the Material of the block.
* **getBlockData():** Get the BlockData of the block. * **getBlockData():** Get the BlockData of the block.
* **getPlayer():** Get the username as a string.. * **getPlayer():** Get the username as a string.
* **getTimestamp():** Get the time of the action. * **getTimestamp():** Get the time of the action.
* **getActionId():** Get the action ID. (0=removed, 1=placed, 2=interaction) * **getActionId():** Get the action ID. (0=removed, 1=placed, 2=interaction)
* **getActionString():** Get the action as a string. (Removal, Placement, Interaction) * **getActionString():** Get the action as a string. (Removal, Placement, Interaction)
@ -318,7 +318,7 @@ if (CoreProtect != null){ // Ensure we have access to the API
int x = parseResult.getX(); int x = parseResult.getX();
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
//... // ...
} }
} }
} }
@ -338,7 +338,7 @@ if (CoreProtect != null){ // Ensure we have access to the API
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -357,7 +357,7 @@ if (CoreProtect != null){ // Ensure we have access to the API
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -380,7 +380,7 @@ public void run() {
int x = result.getX(); int x = result.getX();
int y = result.getY(); int y = result.getY();
int z = result.getZ(); int z = result.getZ();
//... // ...
} }
} }
} }
@ -430,7 +430,7 @@ if (CoreProtect != null){ // Ensure we have access to the API
int x = parseResult.getX(); int x = parseResult.getX();
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
//... // ...
} }
} }
} }
@ -450,7 +450,7 @@ if (CoreProtect != null){ // Ensure we have access to the API
int y = parseResult.getY(); int y = parseResult.getY();
int z = parseResult.getZ(); int z = parseResult.getZ();
int action = parseResult.getActionId(); // 0 = logout, 1 = login int action = parseResult.getActionId(); // 0 = logout, 1 = login
//... // ...
} }
} }
} }