Move profiles into libzontreck, and create relevant events
This commit is contained in:
parent
453d5642b7
commit
6789b0f329
8 changed files with 231 additions and 2 deletions
|
@ -0,0 +1,13 @@
|
|||
package dev.zontreck.libzontreck.events;
|
||||
|
||||
import dev.zontreck.libzontreck.profiles.Profile;
|
||||
import net.minecraftforge.eventbus.api.Event;
|
||||
|
||||
public class ProfileCreatedEvent extends Event
|
||||
{
|
||||
public String playerID;
|
||||
public ProfileCreatedEvent(Profile newProfile)
|
||||
{
|
||||
playerID = newProfile.user_id;
|
||||
}
|
||||
}
|
Reference in a new issue