
Lv.1
在 ??????????? 中回复
world.onPlayerjoin(({entity})=>{
entity.player.enableDoublejump=false
})//有bug跟我说2022-07-09T17:58:57 点赞:0
在 【求助】怎样删除数组中的指定元素!?!?!? 中回复
Array.prototype.indexOf = function(val) {
for (var i = 0; i < this.length; i++) {
if (this[i] == val) return i;
}
return -1;
};
Array.prototype.remove = function(val) {
var index = this.indexOf(val);
if (index > -1) {
this.splice(index, 1);
}
};
doge.remove("太")2023-02-04T14:02:34 点赞:1