Remember, minimal diffs and *NO TABS*
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
38e7b5cb6a
commit
6b25a95a88
2 changed files with 6 additions and 6 deletions
|
@ -90,12 +90,12 @@ public final class CraftServer implements Server {
|
||||||
|
|
||||||
if (partialName.equalsIgnoreCase(iterPlayerName)) {
|
if (partialName.equalsIgnoreCase(iterPlayerName)) {
|
||||||
// Exact match
|
// Exact match
|
||||||
matchedPlayers.clear();
|
matchedPlayers.clear();
|
||||||
matchedPlayers.add(iterPlayer);
|
matchedPlayers.add(iterPlayer);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (iterPlayerName.toLowerCase().indexOf(partialName.toLowerCase()) != -1) {
|
if (iterPlayerName.toLowerCase().indexOf(partialName.toLowerCase()) != -1) {
|
||||||
// Partial match
|
// Partial match
|
||||||
matchedPlayers.add(iterPlayer);
|
matchedPlayers.add(iterPlayer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ public class CraftWorld implements World {
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getHighestBlockYAt(int x, int z) {
|
public int getHighestBlockYAt(int x, int z) {
|
||||||
return world.d(x, z);
|
return world.d(x, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Chunk getChunkAt(int x, int z) {
|
public Chunk getChunkAt(int x, int z) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue