Finally Beta!

This commit is contained in:
Sn0wStorm 2013-07-30 22:37:14 +02:00
parent 7a236a4297
commit 62f1d7686a
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
name: Brewery
version: 0.3
version: 0.4
main: com.dre.brewery.P
authors: [Frank Baumann]
authors: [Milan Albrecht, Frank Baumann]
softdepend: [Vault]
commands:
brewery:
description: Reference command for Brewery.
description: Command for Administration
aliases: [brew,br]

View File

@ -383,7 +383,7 @@ public class P extends JavaPlugin {
}
}
}
return null;
return worldName;
}
// create empty World save Sections
@ -406,13 +406,13 @@ public class P extends JavaPlugin {
page = 1;
}
msg(sender, ChatColor.GRAY + "-------------- " + ChatColor.WHITE + "Seite " + ChatColor.GOLD + page + ChatColor.WHITE + "/" + ChatColor.GOLD + pages + ChatColor.GRAY + " --------------");
sender.sendMessage(ChatColor.GRAY + "-------------- " + ChatColor.WHITE + "Seite " + ChatColor.GOLD + page + ChatColor.WHITE + "/" + ChatColor.GOLD + pages + ChatColor.GRAY + " --------------");
ListIterator<String> iter = strings.listIterator((page - 1) * 7);
for (int i = 0; i < 7; i++) {
if (iter.hasNext()) {
msg(sender, iter.next());
sender.sendMessage(iter.next());
} else {
break;
}

View File

@ -20,7 +20,7 @@ public class WorldListener implements Listener {
if (world.getName().startsWith("DXL_")) {
P.p.loadWorldData(P.p.getDxlName(world.getName()), world);
} else {
P.p.loadWorldData(event.getWorld().getUID().toString(), world);
P.p.loadWorldData(world.getUID().toString(), world);
}
}