Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
<url>https://repo.oraxen.com/releases</url>
</repository>
<repository>
<id>nexo-snapshots</id>
<id>nexo-releases</id>
<name>Nexo Repository</name>
<url>https://repo.nexomc.com/snapshots</url>
<url>https://repo.nexomc.com/releases</url>
</repository>
</repositories>

Expand Down Expand Up @@ -118,13 +118,12 @@
<dependency>
<groupId>com.nexomc</groupId>
<artifactId>nexo</artifactId>
<version>0.2.1-dev.4</version>
<version>0.9.0</version>
<scope>provided</scope>
<classifier>dev</classifier>
<exclusions>
Comment thread
Naimadx123 marked this conversation as resolved.
<exclusion>
<groupId>net.byteflux</groupId>
<artifactId>libby-bukkit</artifactId>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.jeff_media.jefflib.exceptions.InvalidBlockDataException;
import com.nexomc.nexo.api.NexoBlocks;
import com.nexomc.nexo.api.NexoFurniture;
import com.nexomc.nexo.mechanics.custom_block.noteblock.NoteBlockMechanicFactory;
import com.nexomc.nexo.mechanics.furniture.FurnitureMechanic;
import de.jeff_media.customblocks.CustomBlock;
import org.bukkit.Bukkit;
Expand Down Expand Up @@ -63,7 +62,7 @@ public void place(Block block, OfflinePlayer player) {
}
break;
case NOTE_BLOCK:
NoteBlockMechanicFactory.Companion.setBlockModel(block, getId());
NexoBlocks.place(getId(), block.getLocation());
break;

default:
Expand Down