mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 07:24:52 +09:00
Remove unused filter
This commit is contained in:
1 parent
093b71045b
commit
c4d4cb3afd
2 files changed
-4
No files matched your search
@@ -353,20 +353,17 @@ export class GetPlayerPathRequest {
|
||||
|
||||
constructor(
|
||||
public instance_id: number,
|
||||
public player_name: string,
|
||||
public surface: string,
|
||||
) { }
|
||||
|
||||
static jsonSchema = Type.Object({
|
||||
"instance_id": Type.Number(),
|
||||
"player_name": Type.String(),
|
||||
"surface": Type.String(),
|
||||
});
|
||||
|
||||
static fromJSON(json: Static<typeof GetPlayerPathRequest.jsonSchema>) {
|
||||
return new this(
|
||||
json.instance_id,
|
||||
json.player_name,
|
||||
json.surface,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -584,7 +584,6 @@ export default function CanvasMinimapPage() {
|
||||
try {
|
||||
const resp = await control.send(new GetPlayerPathRequest(
|
||||
selectedInstance,
|
||||
"*",
|
||||
selectedSurface,
|
||||
));
|
||||
if (!resp.positions) { return null; }
|
||||
|
||||
Reference in new issue
Block a user