Allow / Prevent Leash Drop (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.10

Syntax

(force|allow) [the] (lead|leash) [item] to drop

Description

Allows or prevents the leash from being dropped in an unleash event.

Examples

on unleash:
	if player is not set:
		prevent the leash from dropping
	else if player is op:
		allow the leash to drop

View source