File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
src/main/java/com/syntaxphoenix/spigot/smoothtimber Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 44 <groupId >com.syntaxphoenix.spigot</groupId >
55 <artifactId >smoothtimber-legacy</artifactId >
66 <name >SmoothTimber</name >
7- <version >1.27.1 </version >
7+ <version >1.27.4 </version >
88 <build >
99 <resources >
1010 <resource >
223223 <dependency >
224224 <groupId >org.spigotmc</groupId >
225225 <artifactId >spigot-api</artifactId >
226- <version >1.20.1 -R0.1-SNAPSHOT</version >
226+ <version >1.21.4 -R0.1-SNAPSHOT</version >
227227 <scope >provided</scope >
228228 </dependency >
229229 <dependency >
230230 <groupId >dev.folia</groupId >
231231 <artifactId >folia-api</artifactId >
232- <version >1.20.1 -R0.1-SNAPSHOT</version >
232+ <version >1.21.4 -R0.1-SNAPSHOT</version >
233233 <scope >provided</scope >
234234 </dependency >
235235 <dependency >
311311 <properties >
312312 <java .package.id>smoothtimber</java .package.id>
313313 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
314- <server .version>1.20.1 -R0.1-SNAPSHOT</server .version>
314+ <server .version>1.21.4 -R0.1-SNAPSHOT</server .version>
315315 <project .roaster.version>2.28.0.Final</project .roaster.version>
316316 </properties >
317317</project >
Original file line number Diff line number Diff line change 55
66 <groupId >com.syntaxphoenix.spigot</groupId >
77 <artifactId >smoothtimber-legacy</artifactId >
8- <version >1.27.4 </version >
8+ <version >1.27.5 </version >
99 <name >SmoothTimber</name >
1010 <packaging >jar</packaging >
1111
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public void onChopEvent(final AsyncPlayerChopTreeEvent event) {
3131 if (area == null ) {
3232 continue ;
3333 }
34- if (area .hasRoleFlag (uuid , Flags .BLOCK_BREAK )) {
34+ if (uuid . equals ( area . getOwnerUID ()) || area .hasRoleFlag (uuid , Flags .BLOCK_BREAK )) {
3535 event .setCancelled (true );
3636 event .setReason (DefaultReason .LANDS );
3737 return ;
Original file line number Diff line number Diff line change 2323@ SupportedVersions ({
2424 "1.21.3" ,
2525 "1.21.4" ,
26+ "1.21.5"
2627})
2728public final class v1_21xChanger implements VersionChanger {
2829
You can’t perform that action at this time.
0 commit comments