File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
src/main/java/net/coreprotect/listener/entity Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 124124 <dependency >
125125 <groupId >io.papermc.paper</groupId >
126126 <artifactId >paper-api</artifactId >
127- <version >1.21.3 -R0.1-SNAPSHOT</version >
127+ <version >1.21.1 -R0.1-SNAPSHOT</version >
128128 <scope >provided</scope >
129129 </dependency >
130130 <dependency >
Original file line number Diff line number Diff line change @@ -72,12 +72,7 @@ else if (cause.equals(HangingBreakEvent.RemoveCause.OBSTRUCTION)) {
7272 material = Material .PAINTING ;
7373 Painting painting = (Painting ) entity ;
7474 blockData = "FACING=" + painting .getFacing ().name ();
75- try {
76- itemData = Util .getArtId (painting .getArt ().toString (), true );
77- }
78- catch (IncompatibleClassChangeError e ) {
79- // 1.21.2+
80- }
75+ itemData = Util .getArtId (painting .getArt ().toString (), true );
8176 }
8277
8378 if (!event .isCancelled () && Config .getConfig (blockEvent .getWorld ()).NATURAL_BREAK ) {
You can’t perform that action at this time.
0 commit comments