Compare commits

..

3 Commits

Author SHA1 Message Date
1fb6bc79e6 check proper locations on PortalCreateEvent 2022-10-07 21:06:17 +02:00
25e6aecf13 Update dependency com.intellectualsites.bom:bom-1.18.x to v1.16 (#3825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-04 22:54:56 +02:00
33c11fdee9 Back to snapshot for development 2022-10-04 19:31:27 +02:00
2 changed files with 6 additions and 6 deletions

View File

@ -1756,11 +1756,11 @@ public class PlayerEventListener implements Listener {
maxZ = Math.max(state.getZ(), maxZ); maxZ = Math.max(state.getZ(), maxZ);
} }
int y = event.getBlocks().get(0).getY(); // Don't need to worry about this too much int y = event.getBlocks().get(0).getY(); // Don't need to worry about this too much
for (Location location : Set.of( // Use Set to lazily avoid duplicate locations for (Location location : List.of( // We don't care about duplicate locations
Location.at(world, minX, y, maxX), Location.at(world, minX, y, minZ),
Location.at(world, minZ, y, maxZ),
Location.at(world, minX, y, maxZ), Location.at(world, minX, y, maxZ),
Location.at(world, minZ, y, maxX) Location.at(world, maxX, y, minZ),
Location.at(world, maxX, y, maxZ)
)) { )) {
PlotArea area = location.getPlotArea(); PlotArea area = location.getPlotArea();
if (area == null) { if (area == null) {

View File

@ -19,7 +19,7 @@ plugins {
} }
group = "com.plotsquared" group = "com.plotsquared"
version = "6.10.1" version = "6.10.2-SNAPSHOT"
subprojects { subprojects {
group = rootProject.group group = rootProject.group
@ -65,7 +65,7 @@ subprojects {
} }
dependencies { dependencies {
implementation(platform("com.intellectualsites.bom:bom-1.18.x:1.15")) implementation(platform("com.intellectualsites.bom:bom-1.18.x:1.16"))
} }
dependencies { dependencies {