Skip to content

Commit

Permalink
gm check
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Jan 25, 2025
1 parent b2906b4 commit 647cb3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/js/server/misc/spawnergump.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function onUseChecked( pUser, iUsed )
socket.tempObj = iUsed;
var gumpID = 5037 + 0xffff;

if( socket && iUsed && iUsed.isItem )
if( socket && iUsed && iUsed.isItem && pUser.isGM )
{
socket.CloseGump( gumpID, 0 );
spawnerGump( socket, pUser, iUsed );
Expand Down

0 comments on commit 647cb3e

Please sign in to comment.