Fixed typos.
This commit is contained in:
parent
a9be1eaa51
commit
6bd53a3fe6
@ -166,8 +166,8 @@ public class GatesManager
|
|||||||
|
|
||||||
private void addGateByLocations(Gate g)
|
private void addGateByLocations(Gate g)
|
||||||
{
|
{
|
||||||
for (Location c : g.getGateBlockLocations()) {
|
for (Location l : g.getGateBlockLocations()) {
|
||||||
SimpleLocation sl = new SimpleLocation(c);
|
SimpleLocation sl = new SimpleLocation(l);
|
||||||
gatesByLocation.put(sl, g);
|
gatesByLocation.put(sl, g);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ public class CommandCreate extends BaseLocationCommand
|
|||||||
GatesManager gatesManager = Plugin.getPlugin().getGatesManager();
|
GatesManager gatesManager = Plugin.getPlugin().getGatesManager();
|
||||||
|
|
||||||
if (gatesManager.gateExists(id)) {
|
if (gatesManager.gateExists(id)) {
|
||||||
sendMessage(ChatColor.RED + "Creating the gate failed!" + "A gate with the supplied id already exists!");
|
sendMessage(ChatColor.RED + "Creating the gate failed! " + "A gate with the supplied id already exists!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user