mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-19 02:12:58 +01:00
Fix compiler errors
This commit is contained in:
@@ -37,11 +37,12 @@ public final class BlockUtils {
|
||||
|
||||
/**
|
||||
* Marks a block to drop extra copies of items
|
||||
*
|
||||
* @param blockState target blockstate
|
||||
* @param amount amount of extra items to drop
|
||||
* @param amount amount of extra items to drop
|
||||
*/
|
||||
public static void markDropsAsBonus(BlockState blockState, int amount) {
|
||||
blockState.setMetadata(MetadataConstants.BONUS_DROPS_METAKEY, new BonusDropMeta(amount, mcMMO.p));
|
||||
blockState.setMetadata(MetadataConstants.BONUS_DROPS_METAKEY, new BonusDropMeta(amount, mcMMO.p));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user