Comments (3)
Can confirm,
command /test:
trigger:
if (player's money + 1) > 100:
send "You have 101 or more!"
causes
[17:52:04 INFO]: Line 3: (test.sk)
[17:52:04 INFO]: Can't understand this condition: '(player's money + 1) > 100'
[17:52:04 INFO]: Line: if (player's money + 1) > 100:
[17:52:04 INFO]:
[17:52:04 INFO]: [Skript] Encountered 1 error while reloading test.sk! (17ms)
with the GitHub Skript 2.8.7 release, Vault, Essentials, and no addons. Removing the +1
seems to work fine.
from skript.
Try (player's money + 1) > 100
. Looks like it's conflicting with whatever addon you have that adds a less than/greater than condition
EDIT: seems to be SkQuery
from skript.
Removed SkQuery, same thing still happens
Also it isn't a problem regarding the >=, because this normal expression is also broken:
from skript.
Related Issues (20)
- Item Comparison bug HOT 2
- error with reload scripts HOT 4
- double ## breaking HOT 1
- parse effect subcommand HOT 2
- Add Brush events and conditions
- Exception in play sound in skript v2.9.0 HOT 5
- Timespan#getAs(TimePeriod) truncates to Integer, breaking larger timespans. HOT 8
- Cannot Teleport player to a location HOT 1
- Yaw / Pitch isn't accurate HOT 1
- On Inventory Item Move, Bug with the event. HOT 8
- 2.9 Adding strings with null value empties string HOT 3
- Skript Crashed while getting player's money HOT 7
- java.lang.ClassCastException: class java.lang.Double cannot be cast to class ch.njol.skript.hooks.economy.classes.Money HOT 1
- Triger "on explode" events with the "create explosion" effect
- Wolf Variants
- IncompatibleClassChangeError: Method 'org.bukkit.entity.Villager$Profession[]
- Exception while using `send` HOT 1
- Skript server error HOT 9
- Extra split effect option
- simplified change method for SimplePropertyExpression
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 skript.