Comments (5)
What if you use event-item
instead of event-slot
?
from skript.
Not sure why you're crashing but the issue stems from slot
not referencing an inventory which should be impossible for anything using slot normally (excluding dropped items and other entities alike)
Any code of yours using a slot within line 41-X as a reference would be a huge help
from skript.
Probably a duplicate of #6458
from skript.
This is due to the event-slot
event value, which can return an InventorySlot
with null inventory (which happens when you click outside the inventory). I'm not sure whether this is normal or whether the checks need to be done elsewhere.
Skript/src/main/java/ch/njol/skript/classes/data/BukkitEventValues.java
Lines 1124 to 1133 in 4d40944
from skript.
yeah duplicate of #6458
from skript.
Related Issues (20)
- 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
- Using a function as a permission message throws an invalid warning HOT 8
- "On Break" event does not fire while door upper half is broken HOT 2
- Skript error HOT 13
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.