Added documentation to Mixin classes
This commit is contained in:
@ -12,6 +12,9 @@ import wtf.hak.survivalfabric.config.ConfigManager;
|
||||
@Mixin(ServerPlayerEntity.class)
|
||||
public abstract class ServerPlayerEntityMixin {
|
||||
|
||||
/**
|
||||
* Change player list name if enabled
|
||||
*/
|
||||
@Inject(method = "getPlayerListName", at = @At("HEAD"), cancellable = true)
|
||||
private void changePlayerListName(CallbackInfoReturnable<Text> cir) {
|
||||
if (ConfigManager.getConfig().dimensionIndicatorEnabled) {
|
||||
|
Reference in New Issue
Block a user