diff --git a/src/ovh/tgrhavoc/mvpgadgets/gadgets/paintballgun/PaintballListener.java b/src/ovh/tgrhavoc/mvpgadgets/gadgets/paintballgun/PaintballListener.java index 1f9c588..e42445d 100644 --- a/src/ovh/tgrhavoc/mvpgadgets/gadgets/paintballgun/PaintballListener.java +++ b/src/ovh/tgrhavoc/mvpgadgets/gadgets/paintballgun/PaintballListener.java @@ -55,7 +55,7 @@ public void onPaintballHit(ProjectileHitEvent e){ hitBlocks.add(hitBlock.getLocation()); paintHandler.updateBlock(Bukkit.getOnlinePlayers(), hitBlock, Material.STAINED_CLAY, - DyeColor.values()[rand.nextInt(DyeColor.values().length)].getData()); + DyeColor.values()[rand.nextInt(DyeColor.values().length)].getDyeData()); final Location loc = hitBlock.getLocation(); final Block hitBlock2 = hitBlock;