Proper Reformating

This commit is contained in:
Kam committed 2025-03-13 17:14:45 -04:00
1 parent ce75880aba
commit 180d257024
1179 files changed
+59847 -61583

No files matched your search

@@ -8,9 +8,9 @@ import noppes.npcs.scripted.constants.EntityType;
public class ScriptVillager<T extends EntityVillager> extends ScriptLiving<T> implements IVillager {
public ScriptVillager(T entity) {
super(entity);
}
public ScriptVillager(T entity) {
super(entity);
}
@Override
public int getProfession() {
@@ -23,18 +23,17 @@ public class ScriptVillager<T extends EntityVillager> extends ScriptLiving<T> im
}
@Override
public IEntityLivingBase getCustomer()
{
public IEntityLivingBase getCustomer() {
return (IEntityLivingBase) NpcAPI.Instance().getPlayer(entity.getCustomer().getCommandSenderName());
}
@Override
public int getType(){
return EntityType.VILLAGER;
}
@Override
public int getType() {
return EntityType.VILLAGER;
}
@Override
public boolean typeOf(int type){
public boolean typeOf(int type) {
return type == EntityType.VILLAGER || super.typeOf(type);
}