Comments (9)
The same is happening to me. Following error occurs while debug mode is enabled:
JackMPlayz joined the game
[23:07:35] [Server thread/DEBUG]: Failed to execute inventory transaction from JackMPlayz with actions: [{"sourceType":0,"windowId":124,"unknown":0,"inventorySlot":0,"oldItem":{"id":0,"count":0},"newItem":{"id":264,"nbt_hex":"0a00000a0700646973706c61790804004e616d650c00c2a763436c69636b204d45210000"}},{"sourceType":0,"windowId":3,"unknown":0,"inventorySlot":0,"oldItem":{"id":264,"nbt_hex":"0a00000a0700646973706c61790804004e616d650c00c2a763436c69636b204d45210000"},"newItem":{"id":0,"count":0}}]
[23:07:35] [Server thread/DEBUG]: Unhandled InventoryTransactionPacket received from JackMPlayz: 0x1e0000000200f801000090040224000a00000a0700646973706c61790804004e616d650c00c2a763436c69636b204d45210000000000060090040224000a00000a0700646973706c61790804004e616d650c00c2a763436c69636b204d45210000000000
I was using the Recursive GUI Inventories
example as mentioned in the wiki. The inventory for Menu # 1
showed up with the diamond inside it. As soon as I clicked the diamond GUI closed with no hotbar same as in the picture above. Tried to run the command again and this time when I clicked on the diamond the game froze with no output on console.
from invmenu.
Can you send the code you're using
from invmenu.
public function onInteract(PlayerInteractEvent $event)
{
$block = $event->getBlock();
$p = $event->getPlayer();
if ($event->getAction() === PlayerInteractEvent::RIGHT_CLICK_BLOCK && $block instanceof EnderChest) {
$tile = InvMenu::create(InvMenu::TYPE_DOUBLE_CHEST)->setName(TextFormat::GREEN . "Are you sure??")->setListener([$this, "onTransaction"])->readonly();
$tile->send($p);
$tile->getInventory()->setItem(29, Item::get(Item::WOOL)->setCustomName(TextFormat::GREEN . "§lYES!"));
}
}
public function onTransaction(Player $player, Item $teste, Item $itemPutIn, SlotChangeAction $inventoryAction): bool
{
if ($teste->getId() == Item::WOOL) {
$player->removeWindow($inventoryAction->getInventory());
}
return false;
}
}
from invmenu.
Which commit of pmmp are you on?
from invmenu.
The most recent
from invmenu.
Also using the latest version of pmmp (8bb785b) with no plugins installed.
from invmenu.
How Do I Create A Fake Inventory And Where In The Files?
from invmenu.
sorry but i have to comment.. ^ dumbass
from invmenu.
Can you fix it? @Muqsit
from invmenu.
Related Issues (20)
- Menu doesn't open HOT 1
- Menu dosen't open HOT 4
- Error HOT 3
- crash HOT 1
- Question HOT 3
- Pm5 Change HOT 16
- How can we add vanilla blocks in menu? HOT 2
- Is is possible to add custom items? HOT 6
- Is it possible to add custom texture in invmenu? HOT 6
- Inventory sending HOT 11
- Sending InvMenu HOT 14
- Menu Not Work HOT 1
- Minecart chest stuff HOT 3
- Inv Bug HOT 2
- Crash
- Is it possible to open another gui when one is closed? HOT 1
- Register custom menu PM5 HOT 1
- Bug?
- 5.10.0 Error Handler
- Chestshop İnventory window dosent close in the background
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invmenu.