Skip to content

Commit dc4b70c

Browse files
Fixing quotes and spacing
1 parent a6bca0a commit dc4b70c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net/inbound-packets/command-packet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { inputCommandAction } from '../../world/actor/player/action/input-command-action';
2-
import {Rights} from "../../world/actor/player/player";
2+
import { Rights } from '../../world/actor/player/player';
33

44
const commandPacket = (player, packet) => {
55
const input = packet.buffer.getString();
@@ -15,7 +15,7 @@ const commandPacket = (player, packet) => {
1515

1616
args.splice(0, 1);
1717
if(player.rights !== Rights.ADMIN) {
18-
player.sendLogMessage("You need to be an administrator to use commands.", isConsole);
18+
player.sendLogMessage('You need to be an administrator to use commands.', isConsole);
1919
} else {
2020
inputCommandAction(player, command, isConsole, args);
2121
}

0 commit comments

Comments
 (0)