mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Allow /acr report for offline players & small multiversion improvements
This commit is contained in:
1 parent
9211003d6d
commit
a84b573fa8
3 files changed
+172
-175
No files matched your search
@@ -16,7 +16,6 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.rammelkast.anticheatreloaded.util;
|
||||
|
||||
import java.util.Arrays;
|
||||
@@ -142,7 +141,7 @@ public class VersionUtil {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
if (player.hasPotionEffect(type))
|
||||
return player.getPotionEffect(type).getAmplifier() + 1;
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user