mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-14 19:34:43 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
9df1387f81 | |||
dcf5a7d940 | |||
641e3840cb | |||
5642061d6f |
@ -371,7 +371,10 @@ public class EventDispatcher {
|
||||
Location location, BlockType blockType, boolean notifyPerms
|
||||
) {
|
||||
PlotArea area = location.getPlotArea();
|
||||
assert area != null;
|
||||
// the interaction target location might be outside a plot area
|
||||
if (area == null) {
|
||||
return true;
|
||||
}
|
||||
if (!area.buildRangeContainsY(location.getY()) && !player.hasPermission(Permission.PERMISSION_ADMIN_BUILD_HEIGHT_LIMIT)) {
|
||||
player.sendMessage(
|
||||
TranslatableCaption.of("height.height_limit"),
|
||||
|
@ -22,7 +22,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "com.intellectualsites.plotsquared"
|
||||
version = "7.3.12-SNAPSHOT"
|
||||
version = "7.3.12"
|
||||
|
||||
if (!File("$rootDir/.git").exists()) {
|
||||
logger.lifecycle("""
|
||||
@ -79,8 +79,8 @@ subprojects {
|
||||
|
||||
dependencies {
|
||||
// Tests
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.2")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.11.3")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.3")
|
||||
}
|
||||
|
||||
plugins.withId("java") {
|
||||
|
@ -3,7 +3,7 @@
|
||||
paper = "1.20.4-R0.1-SNAPSHOT"
|
||||
guice = "7.0.0"
|
||||
spotbugs = "4.8.6"
|
||||
checkerqual = "3.48.0"
|
||||
checkerqual = "3.48.1"
|
||||
gson = "2.10"
|
||||
guava = "31.1-jre"
|
||||
snakeyaml = "2.0"
|
||||
|
Reference in New Issue
Block a user