Minor Change
Added two comments to CommandTeleportPlayer
This commit is contained in:
parent
16f0a8303a
commit
17a770eaf0
1 changed files with 2 additions and 2 deletions
|
@ -116,14 +116,14 @@ public class CommandTeleportPlayer extends DDCommandBase
|
|||
else if (command.length == 4)
|
||||
{
|
||||
x = Integer.parseInt(command[1]);
|
||||
y = Integer.parseInt(command[2]) + 1;
|
||||
y = Integer.parseInt(command[2]) + 1; // Correct the Y value
|
||||
z = Integer.parseInt(command[3]);
|
||||
destination = new Point4D(x, y, z, dimensionID);
|
||||
}
|
||||
else
|
||||
{
|
||||
x = Integer.parseInt(command[2]);
|
||||
y = Integer.parseInt(command[3]) + 1;
|
||||
y = Integer.parseInt(command[3]) + 1; // Correct the Y value
|
||||
z = Integer.parseInt(command[4]);
|
||||
destination = new Point4D(x, y, z, dimensionID);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue