Merge branch 'master' into master

This commit is contained in:
alisolarflare 2020-09-06 09:08:51 -04:00 committed by GitHub
commit 6e207a3af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@ before_install: | # Wget BuildTools and run if cached folder not found
fi
language: java
jdk:
- oraclejdk8
- openjdk8
sudo: required
deploy:
# deploy develop to the staging environment

View file

@ -1,6 +1,7 @@
main: buttondevteam.presents.ButtonPresents
name: ButtonPresents
version: 0.0.1
version: 0.0.2
api-version: 1.13
commands:
dictionary:

View file

@ -13,6 +13,7 @@ public class Bedsplode implements Listener {
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(),