Skip to content

Commit

Permalink
Add private ctor to ClientPlayerBlockBreakEvents
Browse files Browse the repository at this point in the history
Not related to port, but something I've found during the process.
Also adds final to CommonLifecycleEvents.
  • Loading branch information
apple502j committed Apr 12, 2024
1 parent 1ebd820 commit 9191834
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
* <p>For preventing block breaking client side and other purposes, see {@link net.fabricmc.fabric.api.event.player.AttackBlockCallback}.
* For server side block break events, see {@link net.fabricmc.fabric.api.event.player.PlayerBlockBreakEvents}.
*/
public class ClientPlayerBlockBreakEvents {
public final class ClientPlayerBlockBreakEvents {
private ClientPlayerBlockBreakEvents() {
}

/**
* Callback after a block is broken client side.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import net.fabricmc.fabric.api.event.Event;
import net.fabricmc.fabric.api.event.EventFactory;

public class CommonLifecycleEvents {
public final class CommonLifecycleEvents {
private CommonLifecycleEvents() {
}

Expand Down

0 comments on commit 9191834

Please sign in to comment.