yolkbot 0.1.1-alpha.27 → 0.1.1-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/bot.js
CHANGED
|
@@ -1076,18 +1076,6 @@ export class Bot {
|
|
|
1076
1076
|
const serverStateIdx = CommIn.unPackInt8U();
|
|
1077
1077
|
player.serverStateIdx = serverStateIdx;
|
|
1078
1078
|
|
|
1079
|
-
/*
|
|
1080
|
-
l = Rh.unPackInt8U();
|
|
1081
|
-
var I = Rh.unPackInt8U();
|
|
1082
|
-
var P = Rh.unPackInt8U();
|
|
1083
|
-
p = Rh.unPackFloat();
|
|
1084
|
-
_ = Rh.unPackFloat();
|
|
1085
|
-
g = Rh.unPackFloat();
|
|
1086
|
-
var k = Rh.unPackInt8U();
|
|
1087
|
-
var D = Rh.unPackInt8U();
|
|
1088
|
-
var O = Rh.unPackInt8U();
|
|
1089
|
-
*/
|
|
1090
|
-
|
|
1091
1079
|
const newX = CommIn.unPackFloat();
|
|
1092
1080
|
const newY = CommIn.unPackFloat();
|
|
1093
1081
|
const newZ = CommIn.unPackFloat();
|
package/src/constants/index.js
CHANGED
|
@@ -117,5 +117,5 @@ export const URLRewards = [
|
|
|
117
117
|
'WelcomeBack'
|
|
118
118
|
]
|
|
119
119
|
|
|
120
|
-
export const UserAgent =
|
|
120
|
+
export const UserAgent = IsBrowser ? undefined :
|
|
121
121
|
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36'
|
package/src/pathing/mapnode.js
CHANGED
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
|
|
19
19
|
class NodeList {
|
|
20
20
|
constructor(raw) {
|
|
21
|
-
const now = Date.now();
|
|
22
21
|
this.list = [];
|
|
23
22
|
const addedPositions = {};
|
|
24
23
|
|
|
@@ -69,8 +68,6 @@ class NodeList {
|
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
|
-
|
|
73
|
-
console.log(`NodeList created in ${Date.now() - now}ms`);
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
add(node) {
|