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