Mekanism-tilera-Edition/common/cofh/api/core/NullSimpleRegistry.java

18 lines
305 B
Java
Raw Normal View History

package cofh.api.core;
/**
* Dummy class used to initialize Cape and Skin Registries to prevent accidental NPEs.
*
* @author Zeldo Kavira
*
*/
public class NullSimpleRegistry implements ISimpleRegistry {
@Override
public boolean register(String playerName, String URL) {
return false;
}
}