Added ProtectedPlayer.java for storing data on protected players. Created an event for players joining and adding the joined player to a list of protected players.
This commit is contained in:
@ -1,12 +1,17 @@
|
||||
package com.micle.loginprotection;
|
||||
|
||||
import com.micle.loginprotection.data.ProtectedPlayer;
|
||||
import com.micle.loginprotection.setup.Registration;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Mod(LoginProtection.MOD_ID)
|
||||
public class LoginProtection {
|
||||
public static final String MOD_ID = "loginprotection";
|
||||
public static List<ProtectedPlayer> protected_players = new ArrayList<>();
|
||||
|
||||
public LoginProtection() {
|
||||
Registration.register();
|
||||
|
||||
Reference in New Issue
Block a user