-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathCustomBlockDataRemoveEvent.java
More file actions
40 lines (35 loc) · 1.57 KB
/
CustomBlockDataRemoveEvent.java
File metadata and controls
40 lines (35 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Copyright (c) 2022 Alexander Majka (mfnalex) / JEFF Media GbR
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License.
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*
* If you need help or have any suggestions, feel free to join my Discord and head to #programming-help:
*
* Discord: https://discord.jeff-media.com/
*
* If you find this library helpful or if you're using it one of your paid plugins, please consider leaving a donation
* to support the further development of this project :)
*
* Donations: https://paypal.me/mfnalex
*/
package com.jeff_media.customblockdata.events;
import org.bukkit.block.Block;
import org.bukkit.event.Event;
import org.bukkit.plugin.Plugin;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Called when a block's CustomBlockData is about to be removed because the block was broken, replaced, or has changed in other ways.
*/
public class CustomBlockDataRemoveEvent extends CustomBlockDataEvent {
public CustomBlockDataRemoveEvent(@NotNull Plugin plugin, @NotNull Block block, @Nullable Event bukkitEvent) {
super(plugin, block, bukkitEvent);
}
}