Jesus fuck #16

Merged
alisolarflare merged 3 commits from master into master 2020-09-06 13:10:50 +00:00
2 changed files with 46 additions and 1 deletions
Showing only changes of commit 5fc15e11cf - Show all commits

44
ButtonPresents.iml Normal file
View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.5" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: commons-lang:commons-lang:2.6" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:21.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.0" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: net.md-5:bungeecord-chat:1.16-R0.3" level="project" />
<orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.26" level="project" />
<orderEntry type="library" name="Maven: com.github.TBMCPlugins.ChromaCore:Chroma-Core:master-ab4dd75684-1" level="project" />
<orderEntry type="library" name="Maven: org.reflections:reflections:0.9.10" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:annotations:2.0.1" level="project" />
<orderEntry type="library" name="Maven: org.javassist:javassist:3.20.0-GA" level="project" />
<orderEntry type="library" name="Maven: org.mockito:mockito-core:3.0.0" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy:1.9.10" level="project" />
<orderEntry type="library" name="Maven: net.bytebuddy:byte-buddy-agent:1.9.10" level="project" />
<orderEntry type="library" name="Maven: org.objenesis:objenesis:2.6" level="project" />
<orderEntry type="library" name="Maven: com.github.TBMCPlugins.ChromaCore:ButtonProcessor:master-ab4dd75684-1" level="project" />
<orderEntry type="library" name="Maven: com.github.tbmcplugins:ButtonWebsiteModule:master-9d07c7bf2b-1" level="project" />
<orderEntry type="library" name="Maven: com.massivecraft:Factions:1.6.9.5-U0.5.16" level="project" />
<orderEntry type="library" name="Maven: com.massivecraft:Factions-Legacy:1.6.9.5-U0.5.16" level="project" />
<orderEntry type="library" name="Maven: io.papermc:paperlib:1.0.4" level="project" />
<orderEntry type="library" name="Maven: mkremins:fanciful:0.4.0-SNAPSHOT" level="project" />
<orderEntry type="library" name="Maven: com.darkblade12:particleeffect:1.8.0-fuuid" level="project" />
<orderEntry type="library" name="Maven: me.lucko:commodore:1.3" level="project" />
<orderEntry type="library" name="Maven: com.mojang:brigadier:1.0.14" level="project" />
<orderEntry type="library" name="Maven: org.spongepowered:configurate-hocon:3.6.1" level="project" />
<orderEntry type="library" name="Maven: org.spongepowered:configurate-core:3.6.1" level="project" />
<orderEntry type="library" name="Maven: com.typesafe:config:1.3.1" level="project" />
<orderEntry type="library" name="Maven: org.kitteh:paste-gg-api:0.9.1" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: com.github.TownyAdvanced:Towny:0.96.2.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:3.8.1" level="project" />
</component>
</module>

View file

@ -1,5 +1,6 @@
package buttondevteam.presents.components.research.dictionary.effects;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
@ -11,7 +12,7 @@ public class Bedsplode implements Listener {
Player player = event.getPlayer();
player.sendMessage("[ButtonPresents] Nighty night " + player.getName().toLowerCase());
if (!player.getName().toLowerCase().equalsIgnoreCase("alisolarflare")) return;
if (event.getBed().getType() == Material.BLUE_BED) return;
player.getWorld().createExplosion(
player.getLocation().getBlockX(),
player.getLocation().getBlockY(),