Merge branch 'Pyrbu:master' into master
This commit is contained in:
commit
841561fba3
2 changed files with 6 additions and 4 deletions
|
@ -85,9 +85,11 @@ publishing {
|
|||
}
|
||||
repositories {
|
||||
maven {
|
||||
credentials {
|
||||
username DIST_USERNAME
|
||||
password DIST_PASSWORD
|
||||
if (DIST_USERNAME != null && DIST_PASSWORD != null) {
|
||||
credentials {
|
||||
username DIST_USERNAME
|
||||
password DIST_PASSWORD
|
||||
}
|
||||
}
|
||||
url = uri("https://repo.pyr.lol/releases/")
|
||||
}
|
||||
|
|
|
@ -238,7 +238,7 @@ public class NPC {
|
|||
PacketEvents.getAPI().getPlayerManager().sendPacket(player, new WrapperPlayServerSpawnPlayer(entityID,
|
||||
this.gameProfile.getId(), SpigotConversionUtil.fromBukkitLocation(location.toBukkitLocation())));
|
||||
PacketEvents.getAPI().getPlayerManager().sendPacket(player, new WrapperPlayServerEntityMetadata(entityID,
|
||||
List.of(new EntityData(17, EntityDataTypes.BYTE, Byte.MAX_VALUE)))); // 17 only works on ~1.19, this will need to be fixed in the entity rewrite
|
||||
List.of(new EntityData(NPCSkin.SkinLayerValues.findLayerByVersion(), EntityDataTypes.BYTE, Byte.MAX_VALUE))));
|
||||
PacketEvents.getAPI().getPlayerManager().sendPacket(player, new WrapperPlayServerEntityHeadLook(entityID, location.getYaw()));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue