Skip to content

Commit

Permalink
fix error BE name
Browse files Browse the repository at this point in the history
  • Loading branch information
AIDA64S authored Jun 17, 2024
1 parent d129c0a commit 0614522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/teacon/slides/Slideshow.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ public final class Slideshow implements ModInitializer {
public void onInitialize() {
Registry.register(Registry.BLOCK, new ResourceLocation(ID, "projector"), PROJECTOR);
Registry.register(Registry.ITEM, new ResourceLocation(ID, "projector"), PROJECTOR_BLOCK_ITEM);
Registry.register(Registry.BLOCK_ENTITY_TYPE, new ResourceLocation("projector"), PROJECTOR_BLOCK_ENTITY);
Registry.register(Registry.BLOCK_ENTITY_TYPE, new ResourceLocation(ID, "projector"), PROJECTOR_BLOCK_ENTITY);
Registry.register(Registry.MENU, new ResourceLocation(ID, "projector"), PROJECTOR_SCREEN_HANDLER);
ServerPlayNetworking.registerGlobalReceiver(UPDATE_CHANNEL, ((server, player, handler, buf, responseSender) -> {
UpdatePacket updatePacket = new UpdatePacket(buf);
server.execute(() -> updatePacket.handle(player));
}));
LOGGER.info("Slideshow initialized");
}
}
}

0 comments on commit 0614522

Please sign in to comment.