Skip to content

Commit

Permalink
Version up.
Browse files Browse the repository at this point in the history
Fixed bug where visitordropenable was not working. If visitor pickup was
blocks, it was blocking visitor drop too.
  • Loading branch information
tastybento committed Mar 18, 2016
1 parent 4689df3 commit b58ef12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,5 @@
<url>http://maven.sk89q.com/repo/</url>
</repository>
</repositories>
<version>3.0.0.2</version>
<version>3.0.0.3</version>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void onVisitorDrop(final PlayerDropItemEvent e) {
return;
}
}
if (Settings.allowVisitorItemPickup || e.getPlayer().isOp() || VaultHelper.checkPerm(e.getPlayer(), Settings.PERMPREFIX + "mod.bypassprotect")
if (Settings.allowVisitorItemDrop || e.getPlayer().isOp() || VaultHelper.checkPerm(e.getPlayer(), Settings.PERMPREFIX + "mod.bypassprotect")
|| plugin.getGrid().locationIsOnIsland(e.getPlayer(), e.getItemDrop().getLocation())) {
return;
}
Expand Down

0 comments on commit b58ef12

Please sign in to comment.