fix getboneindex
This commit is contained in:
@@ -16,6 +16,11 @@ export default function attachmentManager(game: IGame) {
|
||||
attachments: {},
|
||||
|
||||
addFor: function (entityRage, id) {
|
||||
|
||||
if (!entityRage) {
|
||||
return;
|
||||
}
|
||||
|
||||
let entity;
|
||||
if (entityRage.type === "player") {
|
||||
entity = game.players.at(entityRage.remoteId);
|
||||
|
||||
Reference in New Issue
Block a user