mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2024-06-28 10:44:48 +02:00
Finally Beta!
This commit is contained in:
parent
7a236a4297
commit
62f1d7686a
|
@ -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]
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user