mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 21:52:05 -07:00
#935: Change Consumer and Predicates to super
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
@@ -1649,7 +1649,7 @@ public interface Server extends PluginMessageRecipient {
|
||||
* @return new data instance
|
||||
*/
|
||||
@NotNull
|
||||
public BlockData createBlockData(@NotNull Material material, @Nullable Consumer<BlockData> consumer);
|
||||
public BlockData createBlockData(@NotNull Material material, @Nullable Consumer<? super BlockData> consumer);
|
||||
|
||||
/**
|
||||
* Creates a new {@link BlockData} instance with material and properties
|
||||
|
Reference in New Issue
Block a user