Remove debug

This commit is contained in:
fullwall 2014-01-22 12:48:48 +08:00
parent 628c61ae3e
commit 403cd846d9
2 changed files with 2 additions and 3 deletions

View File

@ -113,8 +113,9 @@ public class CitizensTraitFactory implements TraitFactory {
@Override
public <T extends Trait> T getTrait(Class<T> clazz) {
for (TraitInfo entry : registered.values()) {
if (clazz == entry.getTraitClass())
if (clazz == entry.getTraitClass()) {
return create(entry);
}
}
return null;
}

View File

@ -2,7 +2,6 @@ package net.citizensnpcs.npc.entity.nonliving;
import net.citizensnpcs.api.event.NPCPushEvent;
import net.citizensnpcs.api.npc.NPC;
import net.citizensnpcs.api.util.Messaging;
import net.citizensnpcs.npc.AbstractEntityController;
import net.citizensnpcs.npc.CitizensNPC;
import net.citizensnpcs.npc.ai.NPCHolder;
@ -118,7 +117,6 @@ public class FallingBlockController extends AbstractEntityController {
motY *= 0.98;
motZ *= 0.98;
move(motX, motY, motZ);
Messaging.log(motX, motY, motZ);
}
} else {
super.h();