Skip to content
Browse files

removed extra printlns

  • Loading branch information...
1 parent 250cbfd commit ecf05d2832b06a85d1e2f7531ce2f68e651846bb @zydeco committed Feb 27, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/net/namedfork/bukkit/Tips/TipSet.java
View
3 src/net/namedfork/bukkit/Tips/TipSet.java
@@ -43,7 +43,6 @@ public TipSet(String id, World world, int delay, int period, List<String> tips,
String permName = "tips.receive."+id;
if (pm.getPermission(permName) == null) {
perm = new Permission(permName, PermissionDefault.FALSE);
- System.out.println("REGISTERING PERMISSION "+perm.getName());
pm.addPermission(perm);
} else {
perm = pm.getPermission(permName);
@@ -73,8 +72,6 @@ else if (tips.length == 1) {
// global tip with permission
Player players[] = Bukkit.getServer().getOnlinePlayers();
for(Player p: players) {
- if (p.hasPermission(perm)) System.out.println(p.getName() + " has permission " + perm.getName());
- if (p.hasPermission("tips.receive.*")) System.out.println(p.getName() + " has permission tips.receive.*");
if (p.hasPermission(perm) || p.hasPermission("tips.receive.*")) {
p.sendMessage(tip);
}

0 comments on commit ecf05d2

Please sign in to comment.
Something went wrong with that request. Please try again.