Skip to content

Commit

Permalink
Merge pull request #867 from JasperLorelai/main
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
DragonsAscent authored Mar 11, 2024
2 parents 1e36c89 + f37e719 commit 6039795
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
<div align="center">
<br>
<img src="https://media.discordapp.net/attachments/335237931633606656/595352328341684427/Untitled.png" alt="MagicSpells Icon">
<img src="https://files.jasperlorelai.eu/magicspells/images/readme_icon.png" alt="MagicSpells Icon">
<hr>
<h2><i>Magic without writing Java</i></h2>
<a href="https://github.com/TheComputerGeek2/MagicSpells/actions"><img src="https://img.shields.io/github/actions/workflow/status/TheComputerGeek2/MagicSpells/build.yml" alt="Build Status"></a>
<a href="https://discord.magicspells.dev"><img src="https://img.shields.io/discord/335237931633606656?color=5562e9&logo=discord&logoColor=white" alt="Discord Server"></a>
<a href="https://github.com/TheComputerGeek2/MagicSpells/releases">
<img src="https://img.shields.io/github/downloads/TheComputerGeek2/MagicSpells/total.svg" alt="Github Downloads">
<img src="https://img.shields.io/github/downloads-pre/TheComputerGeek2/MagicSpells/latest/total.svg" alt="Github Downloads Latest">
</a>
<img src="https://img.shields.io/github/license/TheComputerGeek2/MagicSpells" alt="Licence">
<a href="https://bstats.org/plugin/bukkit/MagicSpells/892"><img src="https://img.shields.io/bstats/servers/892" alt="In MC servers"></a>
<a href="https://github.com/TheComputerGeek2/MagicSpells/actions"><img src="https://img.shields.io/github/actions/workflow/status/TheComputerGeek2/MagicSpells/build.yml?style=for-the-badge&logo=github" alt="Build Status"></a>
<a href="https://discord.magicspells.dev"><img src="https://img.shields.io/discord/335237931633606656?color=5562e9&logo=discord&logoColor=white&style=for-the-badge" alt="Discord Server"></a>
<a href="https://github.com/TheComputerGeek2/MagicSpells/releases"><img src="https://img.shields.io/github/downloads/TheComputerGeek2/MagicSpells/total.svg?style=for-the-badge&logo=github" alt="Github Downloads"></a>
<img src="https://img.shields.io/github/license/TheComputerGeek2/MagicSpells?style=for-the-badge&logo=github" alt="Licence">
<a href="https://bstats.org/plugin/bukkit/MagicSpells/892"><img src="https://img.shields.io/bstats/servers/892?style=for-the-badge" alt="In MC servers"></a>
</div>

[//]: # (These links are here for easier hyperlink referencing and less clutter in the actual text below.)
Expand All @@ -27,7 +24,7 @@
[PaperMC]: https://papermc.io/
[Modrinth]: https://modrinth.com/plugin/magicspells
[DiscordBadge]: https://img.shields.io/badge/Join%20our%20Discord-blue?style=for-the-badge&color=586ff2
[WelcomeChannel]: https://media.discordapp.net/attachments/423551934784339968/957725621503541288/unknown.png
[WelcomeChannel]: https://files.jasperlorelai.eu/magicspells/images/readme_discord_screenshot.png

MagicSpells is a [PaperMC] plugin which gives its users the ability to modify their Minecraft servers by configuring existing features without writing Java code. It provides you with the tools for playing with blocks of logic, bringing other plugins together, playing fantastic special effects, making your own new mechanics, and more.

Expand All @@ -48,7 +45,7 @@ Check out more examples of what this plugin can do in our [Discord server] (in t
---
## Classical MagicSpells ⭐

This plugin was originally created by [Nisovin], and published on [Bukkit]. After some time TheComputerGeek2 took over the project and published it on [Spigot]. Since then we dropped support for Spigot and moved to [PaperMC], and the plugin was published on [Modrinth].
This plugin was originally created by [Nisovin], and published on [Bukkit]. After some time TheComputerGeek2 took over the project and published it on [Spigot]. Since then, we dropped support for Spigot and moved to [PaperMC], and the plugin was published on [Modrinth].



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public final Entity playEntityEffect(final Location location, SpellData data) {
if (delay <= 0) return playEntityEffectLocationReal(location, data);

SpellData finalData = data;
MagicSpells.scheduleDelayedTask(() -> playEffectLibLocationReal(location, finalData), delay);
MagicSpells.scheduleDelayedTask(() -> playEntityEffectLocationReal(location, finalData), delay);

return null;
}
Expand All @@ -354,7 +354,7 @@ public final ArmorStand playArmorStandEffect(final Location location, SpellData
if (delay <= 0) return playArmorStandEffectLocationReal(location, data);

SpellData finalData = data;
MagicSpells.scheduleDelayedTask(() -> playEffectLibLocationReal(location, finalData), delay);
MagicSpells.scheduleDelayedTask(() -> playArmorStandEffectLocationReal(location, finalData), delay);

return null;
}
Expand Down

0 comments on commit 6039795

Please sign in to comment.