Skip to content

Commit 8d302cc

Browse files
committed
feat: rename
1 parent 91fc74b commit 8d302cc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎fabric/src/main/java/com/mcdiamondfire/modapi/fabric/client/ModAPI.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public final class ModAPI {
7171
/**
7272
* Fired when the player joins a plot.
7373
*/
74-
public static final ModAPIEvent<PlotInfo> JOIN_PLOT = new ModAPIEvent<>();
74+
public static final ModAPIEvent<PlotInfo> ON_JOIN_PLOT = new ModAPIEvent<>();
7575

7676
/**
7777
* Fired with the line starters present when a developer joins a plot.

‎fabric/src/main/java/com/mcdiamondfire/modapi/fabric/internal/InternalRuntime.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private static void registerMessages() {
9595
ModAPI.ON_CODE_CHEST_OPEN.fire(ModelMapper.chestReference(message.getReference()))
9696
);
9797
ClientTransport.registerMessageListener(S2CPlotInfo.class, message ->
98-
ModAPI.JOIN_PLOT.fire(ModelMapper.plotInfo(message))
98+
ModAPI.ON_JOIN_PLOT.fire(ModelMapper.plotInfo(message))
9999
);
100100
ClientTransport.registerMessageListener(S2CPlotLineStarters.class, message ->
101101
ModAPI.ON_LINE_STARTER_SEND.fire(

0 commit comments

Comments
 (0)