-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bukkit] Refactor feature provider loaders
- Loading branch information
NEZNAMY
committed
Feb 25, 2025
1 parent
181f850
commit 885783c
Showing
9 changed files
with
209 additions
and
236 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
bukkit/src/main/java/me/neznamy/tab/platforms/bukkit/header/DummyHeaderFooter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package me.neznamy.tab.platforms.bukkit.header; | ||
|
||
import me.neznamy.chat.component.TabComponent; | ||
import me.neznamy.tab.platforms.bukkit.BukkitTabPlayer; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** | ||
* An empty implementation that does not do anything. | ||
*/ | ||
public class DummyHeaderFooter extends HeaderFooter { | ||
|
||
@Override | ||
public void set(@NotNull BukkitTabPlayer player, @NotNull TabComponent header, @NotNull TabComponent footer) { | ||
// Do nothing | ||
} | ||
} |
39 changes: 1 addition & 38 deletions
39
bukkit/src/main/java/me/neznamy/tab/platforms/bukkit/header/HeaderFooter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.