Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Mistake copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Euphillya committed Nov 2, 2023
1 parent d68048f commit 32b135c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions patches/server/0004-Purpur-EnderChest-1-to-6-Rows.patch
Original file line number Diff line number Diff line change
Expand Up @@ -135,22 +135,22 @@ index 7385e91f32f070e86a4e0fd3d214f55d832c7979..95bf667c2e3cf60e06bf8bd34f77b615
+ // TenseiMC start
+ if (fr.euphilia.tenseimc.TenseiConfig.enderChestSixRows) {
+ org.bukkit.craftbukkit.entity.CraftHumanEntity bukkitPlayer = player.getBukkitEntity();
+ if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.six") || bukkit.hasPermission("purpur.enderchest.rows.six")) {
+ if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.six") || bukkitPlayer.hasPermission("purpur.enderchest.rows.six")) {
+ player.sixRowEnderChestSlotCount = 54;
+ return ChestMenu.sixRows(syncId, inventory, playerEnderChestContainer);
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.five") || bukkit.hasPermission("purpur.enderchest.rows.five")) {
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.five") || bukkitPlayer.hasPermission("purpur.enderchest.rows.five")) {
+ player.sixRowEnderChestSlotCount = 45;
+ return ChestMenu.fiveRows(syncId, inventory, playerEnderChestContainer);
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.four") || bukkit.hasPermission("purpur.enderchest.rows.four")) {
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.four") || bukkitPlayer.hasPermission("purpur.enderchest.rows.four")) {
+ player.sixRowEnderChestSlotCount = 36;
+ return ChestMenu.fourRows(syncId, inventory, playerEnderChestContainer);
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.three") || bukkit.hasPermission("purpur.enderchest.rows.three")) {
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.three") || bukkitPlayer.hasPermission("purpur.enderchest.rows.three")) {
+ player.sixRowEnderChestSlotCount = 27;
+ return ChestMenu.threeRows(syncId, inventory, playerEnderChestContainer);
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.two") || bukkit.hasPermission("purpur.enderchest.rows.two")) {
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.two") || bukkitPlayer.hasPermission("purpur.enderchest.rows.two")) {
+ player.sixRowEnderChestSlotCount = 18;
+ return ChestMenu.twoRows(syncId, inventory, playerEnderChestContainer);
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.one") || bukkit.hasPermission("purpur.enderchest.rows.one")) {
+ } else if (bukkitPlayer.hasPermission("tenseimc.enderchest.rows.one") || bukkitPlayer.hasPermission("purpur.enderchest.rows.one")) {
+ player.sixRowEnderChestSlotCount = 9;
+ return ChestMenu.oneRows(syncId, inventory, playerEnderChestContainer);
+ }
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ TenseiMC is a drop-in replacement for [Folia](https://github.com/PaperMC/Folia)

TenseiMC is not stable at all and bugs are to be expected. Also, like [Folia](https://github.com/PaperMC/Folia), most plugins on the Spigot markets may not work!

TenseiMC contains patches from other [Paper](https://github.com/PaperMC/Paper) Forks. I'd like to stress that I'm not going to make a horrible patch mix and pray that it compiles. I just think some of the features are cool, and I'd like to make them work on a [Folia](https://github.com/PaperMC/Folia) fork.
## Contact

Discord : euphilia (852657907870859304)
Expand Down

0 comments on commit 32b135c

Please sign in to comment.