Skip to content

Commit

Permalink
Update plugin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Deamon5550 committed Mar 31, 2015
1 parent 7479b4d commit b8abe05
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
@@ -1,4 +1,9 @@
language: java
cache:
directories:
- $HOME/.gradle
- .gradle
sudo: false
notifications:
email: false
install: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
VoxelSniper-Bukkit [![Build Status](https://travis-ci.org/TVPT/VoxelSniper.svg?branch=master)](https://travis-ci.org/TVPT/VoxelSniper)
VoxelSniper [![Build Status](https://travis-ci.org/TVPT/VoxelSniper.svg?branch=master)](https://travis-ci.org/TVPT/VoxelSniper)
===============

The premiere long-distance brush editor implementation for [Bukkit][Bukkit] and [Sponge][Sponge]. Documentation can be found at the [VoxelGunsmith wiki][VoxelSniperWiki].
Expand Down
Expand Up @@ -25,10 +25,10 @@

import java.util.List;

import org.spongepowered.api.text.Texts;
import org.spongepowered.api.util.command.CommandCallable;
import org.spongepowered.api.util.command.CommandException;

import com.google.common.base.Optional;
import com.google.common.collect.Lists;
import com.voxelplugineering.voxelsniper.core.Gunsmith;
import com.voxelplugineering.voxelsniper.core.commands.Command;
Expand Down Expand Up @@ -114,25 +114,25 @@ public boolean testPermission(org.spongepowered.api.util.command.CommandSource s
* {@inheritDoc}
*/
@Override
public Optional<String> getShortDescription()
public String getShortDescription(org.spongepowered.api.util.command.CommandSource source)
{
return Optional.of(this.command.getHelpMsg());
return this.command.getHelpMsg();
}

/**
* {@inheritDoc}
*/
@Override
public Optional<String> getHelp()
public org.spongepowered.api.text.Text getHelp(org.spongepowered.api.util.command.CommandSource source)
{
return Optional.of(this.command.getHelpMsg());
return Texts.of(this.command.getHelpMsg());
}

/**
* {@inheritDoc}
*/
@Override
public String getUsage()
public String getUsage(org.spongepowered.api.util.command.CommandSource source)
{
return this.command.getHelpMsg();
}
Expand Down
Expand Up @@ -72,7 +72,7 @@ public Optional<com.voxelplugineering.voxelsniper.api.world.Block> getBlock(int
{
return Optional.absent();
}
org.spongepowered.api.block.BlockLoc b = getThis().getFullBlock(x, y, z);
org.spongepowered.api.world.Location b = getThis().getFullBlock(x, y, z);
CommonLocation l = new CommonLocation(this.getWorld(), b.getX(), b.getY(), b.getZ());
Optional<Material> m = ((SpongeWorld) this.getWorld()).getMaterialRegistry().getMaterial(b.getType());
if (!m.isPresent())
Expand Down
Expand Up @@ -94,7 +94,7 @@ public Optional<com.voxelplugineering.voxelsniper.api.world.Block> getBlock(int
{
return Optional.absent();
}
org.spongepowered.api.block.BlockLoc b = getThis().getFullBlock(x, y, z);
org.spongepowered.api.world.Location b = getThis().getFullBlock(x, y, z);
CommonLocation l = new CommonLocation(this, b.getX(), b.getY(), b.getZ());
Optional<com.voxelplugineering.voxelsniper.api.world.material.Material> m = this.materials.getMaterial(b.getType());
if (!m.isPresent())
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
@@ -1,5 +1,5 @@
name: VoxelSniper
main: com.voxelplugineering.voxelsniper.VoxelSniperBukkit
main: com.voxelplugineering.voxelsniper.bukkit.VoxelSniperBukkit
version: 7.0.0
website: http://thevoxelbox.com
authors: [gabizou, Deamon5550]
Expand Down

0 comments on commit b8abe05

Please sign in to comment.