Remove log message

This commit is contained in:
Sollace 2023-08-27 19:36:44 +01:00
parent 91918bab0c
commit d346f7f60d
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -6,7 +6,6 @@ import net.fabricmc.fabric.api.event.EventFactory;
import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerEntity;
import com.minelittlepony.api.pony.IPonyData; import com.minelittlepony.api.pony.IPonyData;
import com.minelittlepony.client.MineLittlePony;
/** /**
* Callback triggered on the server when receiving pony data from a client. * Callback triggered on the server when receiving pony data from a client.
@ -15,7 +14,6 @@ import com.minelittlepony.client.MineLittlePony;
public interface PonyDataCallback { public interface PonyDataCallback {
Event<PonyDataCallback> EVENT = EventFactory.createArrayBacked(PonyDataCallback.class, listeners -> (sender, data, noSkin, env) -> { Event<PonyDataCallback> EVENT = EventFactory.createArrayBacked(PonyDataCallback.class, listeners -> (sender, data, noSkin, env) -> {
MineLittlePony.logger.info("Got pony data on the " + env + " from " + sender.getUuidAsString() + " with " + (noSkin ? "un" : "") + "set skin and he is a " + data.getRace() + "!");
for (PonyDataCallback event : listeners) { for (PonyDataCallback event : listeners) {
event.onPonyDataAvailable(sender, data, noSkin, env); event.onPonyDataAvailable(sender, data, noSkin, env);
} }