mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-21 00:07:48 +01:00
Small fix.
This commit is contained in:
parent
064087b659
commit
f0d6c306c3
@ -24,7 +24,7 @@ public class AlignCommand extends HologramSubCommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPossibleArguments() {
|
public String getPossibleArguments() {
|
||||||
return "<X|Y|Z|XZ> <hologramToAlign> <referenceHologram>";
|
return "<X|Y|Z|XZ> <hologram> <referenceHologram>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -44,7 +44,7 @@ public class AlignCommand extends HologramSubCommand {
|
|||||||
|
|
||||||
Location loc = hologram.getLocation();
|
Location loc = hologram.getLocation();
|
||||||
|
|
||||||
if (args[0].contains("x")) {
|
if (args[0].equalsIgnoreCase("x")) {
|
||||||
loc.setX(referenceHologram.getX());
|
loc.setX(referenceHologram.getX());
|
||||||
} else if (args[0].equalsIgnoreCase("y")) {
|
} else if (args[0].equalsIgnoreCase("y")) {
|
||||||
loc.setY(referenceHologram.getY());
|
loc.setY(referenceHologram.getY());
|
||||||
|
Loading…
Reference in New Issue
Block a user