CoreProtect

CoreProtect

1M Downloads

Make API return the last update of block

luluxe opened this issue ยท 0 comments

commented

Hello,

Can you add a simple API return the last update of a block ?

Actualy we have:

  • List<String[]> blockLookup(Block block, int time)

I want something like that:

  • String[] blockLookupLast(Block block)

Logically one could say I could do:

  • blockLookup(block, time)[0]

My players often manipulate the same blocks in their farms, which causes a direct problem: every time I call the API, a huge list is returned for each block check and i only need the last block.
I find myself with big RAM problems.

Regards,
Lucas.