Revert "More code quality fixes"

This reverts commit 2d6957ce
This commit is contained in:
MattBDev
2020-01-23 14:41:57 -05:00
parent 37003ec089
commit e0f6869573
115 changed files with 1688 additions and 686 deletions

View File

@ -128,7 +128,7 @@ public class ClipboardCommands {
((long) max.getX() - (long) min.getX() + 1) * ((long) max.getY() - (long) min.getY() + 1) * ((long) max.getZ() - (long) min.getZ() + 1);
FaweLimit limit = actor.getLimit();
if (volume >= limit.MAX_CHECKS) {
throw FaweCache.INSTANCE.getMaxChecks();
throw FaweCache.INSTANCE.getMAX_CHECKS();
}
session.setClipboard(null);
@ -246,10 +246,10 @@ public class ClipboardCommands {
long volume = (((long) max.getX() - (long) min.getX() + 1) * ((long) max.getY() - (long) min.getY() + 1) * ((long) max.getZ() - (long) min.getZ() + 1));
FaweLimit limit = actor.getLimit();
if (volume >= limit.MAX_CHECKS) {
throw FaweCache.INSTANCE.getMaxChecks();
throw FaweCache.INSTANCE.getMAX_CHECKS();
}
if (volume >= limit.MAX_CHANGES) {
throw FaweCache.INSTANCE.getMaxChanges();
throw FaweCache.INSTANCE.getMAX_CHANGES();
}
session.setClipboard(null);