
Untitled
By: a guest on
Jun 26th, 2012 | syntax:
None | size: 0.62 KB | hits: 10 | expires: Never
if (signs != null) {
for (Entry<String, Location> entry : signs.entrySet()) {
String pos = entry.getKey();
Player p = null;
double d = 0;
String pos1 = null;
String two = null;
String three = null;
for (SortablePlayerData pdata : order) {
p = pdata.player;
d = pdata.score;
}
Block s = plugin.getServer().getWorld("world").getBlockAt(entry.getValue());
Sign sign = (Sign) s.getState();
sign.setLine(0, pos1 + " " + p.getName());
sign.setLine(1, "K:D");
sign.setLine(2, two);
sign.setLine(3, three);
}
}