Skip to content

Commit

Permalink
Bux fix
Browse files Browse the repository at this point in the history
Took 4 minutes
  • Loading branch information
TheNathanSpace committed Sep 9, 2021
1 parent 4311350 commit fa60cd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.thekingelessar.assault</groupId>
<artifactId>assault</artifactId>
<version>0.12.4</version>
<version>0.12.5</version>
<packaging>jar</packaging>
<name>Assault</name>
<url>https://github.com/thekingelessar/assault</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.bukkit.event.player.PlayerDropItemEvent;
import org.bukkit.inventory.ItemStack;

import javax.persistence.Lob;
import java.util.Arrays;
import java.util.List;

Expand Down Expand Up @@ -42,7 +41,7 @@ public void onItemDrop(PlayerDropItemEvent playerDropItemEvent)
return;
}

if (ShopItemTool.axes.contains(itemStack.getType()) || ShopItemTool.pickaxes.contains(itemStack.getType()))
if (ShopItemTool.axes.contains(itemStack.getType()) || ShopItemTool.pickaxes.contains(itemStack.getType()) || itemStack.getType().equals(Material.SHEARS))
{
playerDropItemEvent.setCancelled(true);
return;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lobby_gamemode: ADVENTURE
# Allow players to rearrange their inventory while in the lobby
force_lobby_inventory: true

game_start_countdown: 8
game_start_countdown: 20

# References maps in the maps/ directory.
# Map files should be in the form map_[name].yml.
Expand Down

0 comments on commit fa60cd7

Please sign in to comment.