mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-27 19:47:51 +01:00
Remove debug
This commit is contained in:
parent
628c61ae3e
commit
403cd846d9
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user