mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 05:48:00 +01:00
Remove log message
This commit is contained in:
parent
91918bab0c
commit
d346f7f60d
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue