mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Add ARROW type to 1.8.8
This commit is contained in:
parent
c03ffef940
commit
5b274ad7a7
@ -101,8 +101,9 @@ public class CreeperController extends MobEntityController {
|
||||
// this method is called by both the entities involved - cancelling
|
||||
// it will not stop the NPC from moving.
|
||||
super.collide(entity);
|
||||
if (npc != null)
|
||||
if (npc != null) {
|
||||
Util.callCollisionEvent(npc, entity.getBukkitEntity());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -100,6 +100,7 @@ import net.citizensnpcs.nms.v1_8_R3.entity.WitherController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.WolfController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.ZombieController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.nonliving.ArmorStandController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.nonliving.ArrowController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.nonliving.BoatController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.nonliving.EggController;
|
||||
import net.citizensnpcs.nms.v1_8_R3.entity.nonliving.EnderCrystalController;
|
||||
@ -571,6 +572,7 @@ public class NMSImpl implements NMSBridge {
|
||||
}
|
||||
|
||||
private void loadEntityTypes() {
|
||||
EntityControllers.setEntityControllerForType(EntityType.ARROW, ArrowController.class);
|
||||
EntityControllers.setEntityControllerForType(EntityType.ARMOR_STAND, ArmorStandController.class);
|
||||
EntityControllers.setEntityControllerForType(EntityType.BAT, BatController.class);
|
||||
EntityControllers.setEntityControllerForType(EntityType.BLAZE, BlazeController.class);
|
||||
|
Loading…
Reference in New Issue
Block a user