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