Permalink
Browse files

Added BlockPlace checks to the list to ignore.

  • Loading branch information...
me4502 committed Feb 27, 2017
1 parent 7d8b7c3 commit a38c9867e92902c052f074e61f3807dd92e27584
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/main/java/com/sk89q/craftbook/util/compat/NoCheatPlusCompatability.java
@@ -11,7 +11,13 @@
public class NoCheatPlusCompatability implements CraftBookCompatability {
private Map<String, EnumSet<CheckType>> disabledChecks = new HashMap<String, EnumSet<CheckType>>();
- private CheckType[] toDisable = new CheckType[]{CheckType.BLOCKBREAK,CheckType.BLOCKINTERACT,CheckType.COMBINED,CheckType.MOVING, CheckType.BLOCKINTERACT_VISIBLE};
+ private CheckType[] toDisable = new CheckType[]{
+ CheckType.BLOCKBREAK,
+ CheckType.BLOCKINTERACT,
+ CheckType.COMBINED,
+ CheckType.MOVING,
+ CheckType.BLOCKPLACE
+ };
@Override
public void enable (Player player) {

0 comments on commit a38c986

Please sign in to comment.