Comments (4)
Remove all der semicolons!
from core.
I'd have preferred to keep the semicolons, because I put them in automatically, being used to them from C++.
Also consider keeping parenthesis around boolean expressions, such as (a == b). They're not compulsory, but they make the code quite a bit more readable, especially in compound expressions, such as (a == b) or (c == d)
from core.
Just confirming for anyone who is reading this that convention for all new code is tabs for indentation and spaces for alignment. Also, no semicolons for plugins.
from core.
I'm eating my own words from four years ago. There's no need for semicolons in Lua, so let's let them go :)
from core.
Related Issues (20)
- webchat should be logged to console
- Time of day overflow after calling '/time day' HOT 2
- Tamed wolves will not go through doors HOT 1
- Spawn protection does not protect double height tall grass. HOT 3
- /spawn command doesn't work HOT 3
- Copy-paste code while teleporting a player HOT 19
- Broken ice blocks reappear after logging out and in again HOT 1
- [feature] luasql support - mysql storage of user data HOT 9
- No permission node for spectator mode HOT 9
- teleport.lua, etc. need review
- Support target selectors
- AutoSave&Restart v1 Fix ? HOT 1
- Move world limiter to core server
- Move difficulties to core server
- Commands to change permissions in-game HOT 1
- Problems with setting time HOT 1
- No /execute HOT 1
- MOTD doesn't display due to hook conflict
- Weird output on listranks command with windows HOT 1
- Some WebAdmin tabs are broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.