Changed README (and old commit for v1.0.4).

This commit is contained in:
JitseB 2018-04-19 19:55:59 +02:00
parent 38f164554a
commit fb1fe7896f
3 changed files with 6 additions and 2 deletions

View File

@ -6,6 +6,10 @@ NPCLib Basic non-player character library.<br>
This is an API made specifically for spigot servers (Minecraft). Current supported versions: **1.8 - 1.12**. Lightweight replacement for Citizens. NPCLib only uses packets instead of registering the entity in the actual Minecraft server.
Spigot resource: https://www.spigotmc.org/resources/npclib.55884/
Spigot thread: https://www.spigotmc.org/threads/npclib--basic-non-player-character-library.314460/
Youtube preview: https://youtu.be/LqwdqIxPIvE
### Notice
If any developer out there knows how to convert this project to Maven, please consider contacting me or creating a pull request. I have yet to come up with a good solution for the (older) NMS code repositories. I would love to add a CI system to this repository for easier collaboration.

View File

@ -75,7 +75,7 @@ public class NPC_V1_12_R1 extends NPC {
public void sendShowPackets(Player player) {
PlayerConnection playerConnection = ((CraftPlayer) player).getHandle().playerConnection;
// playerConnection.sendPacket(packetPlayOutScoreboardTeamRegister);
playerConnection.sendPacket(packetPlayOutScoreboardTeamRegister);
playerConnection.sendPacket(packetPlayOutPlayerInfoAdd);
playerConnection.sendPacket(packetPlayOutNamedEntitySpawn);
playerConnection.sendPacket(packetPlayOutEntityHeadRotation);

View File

@ -1,5 +1,5 @@
name: NPCLib
version: 1.0.2
version: 1.0.4
author: JitseB
main: net.jitse.npclib.plugin.NPCLibPlugin
description: An NPC library.