Make a:activity and #activity not private
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>AuxProtect</groupId>
|
||||
<artifactId>AuxProtect</artifactId>
|
||||
<version>1.3-pre2</version>
|
||||
<version>1.3-pre3</version>
|
||||
<name>AuxProtect</name>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
|
||||
@@ -1140,7 +1140,7 @@ public class Parameters implements Cloneable {
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
if (this == PLAYBACK || this == INCREMENTAL_POS || this == XRAY || this == RETENTION || this == ACTIVITY) {
|
||||
if (this == PLAYBACK || this == INCREMENTAL_POS || this == XRAY || this == RETENTION) {
|
||||
return AuxProtectAPI.getInstance().getAPConfig().isPrivate();
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -347,7 +347,6 @@ public final class AuxProtectSpigot extends JavaPlugin implements IAuxProtect {
|
||||
EntryAction.CENSOR.setEnabled(false);
|
||||
EntryAction.IGNOREABANDONED.setEnabled(false);
|
||||
EntryAction.VEIN.setEnabled(false);
|
||||
EntryAction.ACTIVITY.setEnabled(false);
|
||||
}
|
||||
|
||||
// This is a patch for when reloading the plugin, online players will receive
|
||||
|
||||
Reference in New Issue
Block a user