mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-04-15 16:45:48 +02:00
Documented Flags#EGGS
This commit is contained in:
parent
f64968c7c7
commit
c623e7c036
@ -128,10 +128,15 @@ public final class Flags {
|
||||
public static final Flag TURTLE_EGGS = new Flag.Builder("TURTLE_EGGS", Material.TURTLE_EGG).build();
|
||||
|
||||
// Throwing things
|
||||
/**
|
||||
* Prevents players from throwing eggs.
|
||||
* @see EggListener
|
||||
*/
|
||||
public static final Flag EGGS = new Flag.Builder("EGGS", Material.EGG).listener(new EggListener()).build();
|
||||
/**
|
||||
* Prevents players from throwing potions / experience bottles.
|
||||
* @since 1.1
|
||||
* @see ThrowingListener
|
||||
*/
|
||||
public static final Flag POTION_THROWING = new Flag.Builder("POTION_THROWING", Material.SPLASH_POTION).listener(new ThrowingListener()).build();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user