Added documentation to Mixin classes
This commit is contained in:
@ -10,6 +10,9 @@ import wtf.hak.survivalfabric.config.ConfigManager;
|
||||
@Mixin(ServerPlayNetworkHandler.class)
|
||||
public abstract class ServerPlayNetworkHandlerMixin {
|
||||
|
||||
/**
|
||||
* Modify quit message
|
||||
*/
|
||||
@ModifyArg(method = {"cleanUp"}, at = @At(value = "INVOKE", target = "Lnet/minecraft/server/PlayerManager;broadcast(Lnet/minecraft/text/Text;Z)V"))
|
||||
private Text quitMessage(Text text) {
|
||||
if (ConfigManager.getConfig().quitMessageEnabled) {
|
||||
|
Reference in New Issue
Block a user