Skip to content

Commit 9f74858

Browse files
committed
[ci skip] Cleanup test plugin
1 parent e82f7e6 commit 9f74858

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
package io.papermc.testplugin;
22

3-
import io.papermc.paper.event.player.ChatEvent;
4-
import io.papermc.paper.registry.keys.PaintingVariantKeys;
5-
import org.bukkit.Art;
6-
import org.bukkit.entity.Entity;
7-
import org.bukkit.entity.Painting;
8-
import org.bukkit.event.EventHandler;
93
import org.bukkit.event.Listener;
104
import org.bukkit.plugin.java.JavaPlugin;
115

@@ -17,12 +11,4 @@ public void onEnable() {
1711

1812
// io.papermc.testplugin.brigtests.Registration.registerViaOnEnable(this);
1913
}
20-
21-
@EventHandler
22-
public void onEvent(ChatEvent event) {
23-
final Entity targetEntity = event.getPlayer().getTargetEntity(10);
24-
if (targetEntity instanceof Painting painting) {
25-
painting.setArt(Art.create(f -> f.copyFrom(PaintingVariantKeys.BAROQUE).height(10)));
26-
}
27-
}
2814
}

0 commit comments

Comments
 (0)