Skip to content

Commit 23833a0

Browse files
committed
Update SkriptParticle.java
1 parent 4bcc5dc commit 23833a0

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group 'com.sovdee'
9-
version '1.0.2-BETA'
9+
version '1.1.0'
1010
project.ext.jomlVersion = "1.10.5"
1111

1212
configurations.all {
@@ -25,7 +25,7 @@ repositories {
2525

2626
dependencies {
2727
compileOnly("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")
28-
compileOnly("com.github.SkriptLang:Skript:2.7.0-beta2")
28+
compileOnly("com.github.SkriptLang:Skript:2.7.0")
2929
shadow "org.bstats:bstats-bukkit:3.0.2"
3030
implementation "org.joml:joml:${jomlVersion}"
3131
}

src/main/java/com/sovdee/skriptparticles/SkriptParticle.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ public class SkriptParticle extends JavaPlugin {
1515
private static Logger logger;
1616

1717

18-
// todo before release
18+
// todo, next release
1919
// custom shapes
20-
// particle motion
2120
// icosphere
2221
// todo, later versions
2322
// beziers

src/main/java/com/sovdee/skriptparticles/elements/sections/SecParticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public boolean init(Expression<?>[] exprs, int matchedPattern, Kleenean isDelaye
5656
EntryContainer entryContainer = validator.validate(sectionNode);
5757
if (entryContainer == null)
5858
return false;
59-
particle = LiteralUtils.defendExpression((Expression<org.bukkit.Particle>) exprs[0]);
59+
particle = LiteralUtils.defendExpression(exprs[0]);
6060
count = LiteralUtils.defendExpression((Expression<Number>) entryContainer.get("count", false));
6161
offset = LiteralUtils.defendExpression((Expression<Vector>) entryContainer.getOptional("offset", true));
6262
velocity = LiteralUtils.defendExpression((Expression<?>) entryContainer.getOptional("velocity", true));

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: skript-particle
22
author: Sovde
33
website: https://github.com/sovdeeth/skript-particle
44
description: Create complex effects with particles
5-
version: 1.0.2-beta
5+
version: 1.1.0
66
api-version: 1.17
77
main: com.sovdee.skriptparticles.SkriptParticle
88
depend: [Skript]

0 commit comments

Comments
 (0)