Skip to content

Commit 232fe79

Browse files
committed
fix return in constructor
1 parent 1fbf103 commit 232fe79

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

src/atlasCreator.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ var AtlasCreator = class AtlasCreator {
2424
this.textureMapping = {};
2525
this.emptyDir();
2626
this.firstLoad();
27-
return;
2827
}
2928

3029
emptyDir() {

src/client/scripts/DistanceBasedFog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class DistanceBasedFog {
66
this.view = new THREE.Vector3();
77
this.farnear = new THREE.Vector2();
88
this.color = new THREE.Vector4();
9-
return;
9+
1010
}
1111

1212
update() {

src/client/scripts/Entities.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class Entities {
2828
this.playerMesh.instanceMatrix.setUsage(THREE.DynamicDrawUsage);
2929
this.game.scene.add(this.playerMesh);
3030
this.dummy = new THREE.Object3D();
31-
return;
3231
}
3332

3433
update(entities) {

src/client/scripts/World/SectionComputer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class BitArray {
2424
this.bitsPerValue = options.bitsPerValue;
2525
this.valuesPerLong = valuesPerLong;
2626
this.valueMask = valueMask;
27-
return;
2827
}
2928

3029
get(index) {

0 commit comments

Comments
 (0)