chore: tidy
This commit is contained in:
parent
a27f79dc33
commit
8be6c23711
|
@ -1,10 +1,10 @@
|
||||||
import EntityFactory from './entity-factory.js';
|
|
||||||
|
|
||||||
import {Encoder, Decoder} from '@msgpack/msgpack';
|
import {Encoder, Decoder} from '@msgpack/msgpack';
|
||||||
import {LRUCache} from 'lru-cache';
|
import {LRUCache} from 'lru-cache';
|
||||||
|
|
||||||
import Script from '@/util/script.js';
|
import Script from '@/util/script.js';
|
||||||
|
|
||||||
|
import EntityFactory from './entity-factory.js';
|
||||||
|
|
||||||
const cache = new LRUCache({
|
const cache = new LRUCache({
|
||||||
max: 128,
|
max: 128,
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Ecs from '@/ecs/ecs.js';
|
|
||||||
|
|
||||||
import {LRUCache} from 'lru-cache';
|
import {LRUCache} from 'lru-cache';
|
||||||
|
|
||||||
|
import Ecs from '@/ecs/ecs.js';
|
||||||
|
|
||||||
const cache = new LRUCache({
|
const cache = new LRUCache({
|
||||||
max: 128,
|
max: 128,
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import {LRUCache} from 'lru-cache';
|
||||||
|
|
||||||
import Ecs from '@/ecs/ecs.js';
|
import Ecs from '@/ecs/ecs.js';
|
||||||
import {decode, encode} from '@/net/packets/index.js';
|
import {decode, encode} from '@/net/packets/index.js';
|
||||||
import {
|
import {
|
||||||
|
@ -12,8 +14,6 @@ import createHomestead from './create/homestead.js';
|
||||||
import createHouse from './create/house.js';
|
import createHouse from './create/house.js';
|
||||||
import createPlayer from './create/player.js';
|
import createPlayer from './create/player.js';
|
||||||
|
|
||||||
import {LRUCache} from 'lru-cache';
|
|
||||||
|
|
||||||
const cache = new LRUCache({
|
const cache = new LRUCache({
|
||||||
max: 128,
|
max: 128,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user