Bug Fixes

How to fix bugs in my script

All bugs that are found are patched in the next update.

If you find a bug, please join my discord and open a ticket!

Version 1.0.0

Number

Bug

Fix

1

If a player didn't have permission, it wouldn't properly send them the No Permission Message

Go into all of your shop files and replace {ShopOptions::NoPerm} with {ShopOptions::NoPermission}

2

When you opened a Buy Preview of an item in a shop other than Blocks, it wouldn't work

Go into all of your shop files and replace the line buyPreview(player, event-block, {ShopAction::%uncolored name of event-inventory%::%index of event-slot%::Cost}) with buyPreview(player, event-item, {ShopAction::%uncolored name of event-inventory%::%index of event-slot%::Cost})

3

You can buy items with a full inventory

Update script (only simple way)

Version 1.0.1

Number

Bug

Fix

1

You can click items in your inventory and it will open the Buy Preview Shop sometimes

See 'Bug #1' Section below

2

You couldn't buy things sometimes

Update script (only simple way)

Bug #1: Replace this code

on inventory click:
	if name of event-inventory is "{@Shop Name}":
		if {ShopOptions::CancelClick} is true:
			cancel event
		CustomShop_TestForAction(player, event-item, uncolored name of event-inventory, index of event-slot)

with this

on inventory click:
	if name of event-inventory is "{@Shop Name}":
		if {ShopOptions::CancelClick} is true:
			cancel event
		if event-inventory is not player's inventory:
			CustomShop_TestForAction(player, event-item, uncolored name of event-inventory, index of event-slot)

Version 1.0.2

Number

Bug

Fix

-

None yet :)

-

Last updated

Was this helpful?