Permalink
Browse files

Fixed a regression in the AFK God Mode fix applied in commit 04e9150

  • Loading branch information...
DarkArc committed Jul 25, 2014
1 parent 4838935 commit fb979466ab0b052349294b4821a61bf3a60586e7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/commandbook/AFKComponent.java
@@ -250,7 +250,7 @@ public void run() {
}
// Check and set god mode
- if (godComp != null && canProtect(session.isRequested()) || (passedTime && canProtect(false))) {
+ if (godComp != null && (canProtect(session.isRequested()) || (passedTime && canProtect(false)))) {
if (!godComp.hasGodMode(target)) {
godComp.enableGodMode(target);
session.setProtected(true);

0 comments on commit fb97946

Please sign in to comment.