Whitelist

This commit is contained in:
William Burns 2015-07-29 13:27:26 +01:00
parent c9c3db70f3
commit f82defb1db
3 changed files with 35 additions and 2 deletions

View File

@ -81,7 +81,7 @@ public class EditRotationPage extends BasePage
for (GameCategory cat : _manager.getGames(getPlayer()).keySet())
{
if (!allowedCats.contains(cat))
return;
continue;
for (GameType type : _manager.getGames(getPlayer()).get(cat))
{

View File

@ -59,7 +59,7 @@ public class GameVotingPage extends BasePage
for (GameCategory cat : _manager.getGames(getPlayer()).keySet())
{
if (!allowedCats.contains(cat))
return;
continue;
for (GameType type : _manager.getGames(getPlayer()).get(cat))
{

View File

@ -0,0 +1,33 @@
package nautilus.game.arcade.gui.privateServer.page;
import org.bukkit.entity.Player;
import nautilus.game.arcade.ArcadeManager;
import nautilus.game.arcade.gui.privateServer.PrivateServerShop;
/**
* Created by WilliamTiger.
* All the code and any API's associated with it
* are not to be used anywhere else without written
* consent of William Burns. 2015.
* 29/07/15
*/
public class WhitelistedPage extends BasePage
{
public WhitelistedPage(ArcadeManager plugin, PrivateServerShop shop, Player player)
{
super(plugin, shop, "Whitelisted Players", player);
buildPage();
}
@Override
protected void buildPage()
{
}
private void addPlayerButton(Player p)
{
}
}