summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-01 22:55:28 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-01 22:55:28 +0000
commitf1e44b1fda3209dfe3a1599cc4f9767b4d6dd646 (patch)
tree6179a56d11137c08b3383dbd34376d456bd6cb02
parentbd234780cfce93b267ec93d6114d188ddea872d9 (diff)
downloadEssentials-f1e44b1fda3209dfe3a1599cc4f9767b4d6dd646.tar
Essentials-f1e44b1fda3209dfe3a1599cc4f9767b4d6dd646.tar.gz
Essentials-f1e44b1fda3209dfe3a1599cc4f9767b4d6dd646.tar.lz
Essentials-f1e44b1fda3209dfe3a1599cc4f9767b4d6dd646.tar.xz
Essentials-f1e44b1fda3209dfe3a1599cc4f9767b4d6dd646.zip
[trunk] Cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1086 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/User.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/User.java b/Essentials/src/com/earth2me/essentials/User.java
index e6b675118..c4e0cc972 100644
--- a/Essentials/src/com/earth2me/essentials/User.java
+++ b/Essentials/src/com/earth2me/essentials/User.java
@@ -692,7 +692,6 @@ public class User extends PlayerExtension implements Comparable<User>
public Boolean canSpawnItem(int itemId)
{
- if(Essentials.getSettings().itemSpawnBlacklist().contains(itemId))return false;
- return true;
+ return !Essentials.getSettings().itemSpawnBlacklist().contains(itemId);
}
}