mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Show a message with install instructions when running the jar file
Co-Authored-By: Matthew Miller <mnmiller1@me.com>
This commit is contained in:
@ -147,6 +147,8 @@ tasks.named<Jar>("jar") {
|
||||
}
|
||||
}
|
||||
|
||||
addJarManifest(WorldEditKind.Plugin, includeClasspath = true)
|
||||
|
||||
tasks.named<ShadowJar>("shadowJar") {
|
||||
from(zipTree("src/main/resources/worldedit-adapters.jar").matching {
|
||||
exclude("META-INF/")
|
||||
|
@ -249,7 +249,7 @@ public class BukkitWorld extends AbstractWorld {
|
||||
@Override
|
||||
public boolean clearContainerBlockContents(BlockVector3 pt) {
|
||||
checkNotNull(pt);
|
||||
if (getBlock(pt).getBlockType().getMaterial().hasContainer()) {
|
||||
if (!getBlock(pt).getBlockType().getMaterial().hasContainer()) {
|
||||
return false;
|
||||
}
|
||||
Block block = getWorld().getBlockAt(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ());
|
||||
|
Reference in New Issue
Block a user